1.1.3 • Published 6 years ago

tinymce-webpack-bundle v1.1.3

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

Sendo TinyMCE Editor

Bundle TinyMCE with skins, plugins,... and create global tinymce variable to use with @tinymce/tinymce-react package

Requirements

  • Nodejs >= 10.17.0 (Recommend)

How to use

import '@sendo/tinymce-editor';
import { Editor } from '@tinymce/tinymce-react';

<Editor
  init={{
    skin: false, // Required
    content_css: false, // Required
    language: 'vi' // Recommend
  }}
  plugins={[
    'fullscreen',
    'image',
    'imagetools',
    'link',
    'lists',
    'media',
    'paste',
    'table',
  ]}
  toolbar={[
    `undo redo | bold italic underline strikethrough | forecolor backcolor |
     alignleft aligncenter alignright alignjustify | 
     subscript superscript`,

    `removeformat | styleselect formatselect fontselect fontsizeselect`,

    `table | bullist numlist | outdent indent blockquote | link unlink |
     image media | fullscreen`,
  ]}
  onEditorChange={(content, editor) => {
    console.log({ content, editor })
  }}
/>

Run and build

  • yarn
  • yarn build or yarn dev (for development)
1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.8.0

6 years ago

1.7.0

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago