mb-react-tinymce

Try to deal with:

  • Warp TinyMCE into React Component
  • Also provides a hackable EditorToolbar Component

Basic Usage

You can build the test version by npm i && npm start,
and serve the example/ directory.
Then open example/index.html.

Check code to init example at:

  • source/index.example.js
  • example/index.html

this package expects TinyMCE to be loaded as: window.tinyMCE || window.tinymce

this package exports:

export {
  createEditorStore,
  TinyMCEComponent,
  Toolbar,
  LOCALE_LIST,
  GET_LOCALE,
  SET_LOCALE,
  TinyMCEPanelRestyleGlobalStyle
}

Reference

GitHub