instructure-react / react-tinymce

React TinyMCE component
181 stars 115 forks source link

Allow Chaining of config.setup for Editor Init #16

Closed apelican closed 8 years ago

apelican commented 8 years ago

This modifies config use of the setup callback by chaining it after wrapper tasks. The wrapper still uses this setup routine to proxy events and set initial content. We needed the ability to configure custom buttons with callbacks easily defined within our component.

This allows configuration similar to the official TinyMCE examples.

tenfef commented 8 years ago

Would love to have this merged. As currently I can't see a way to add custom buttons to the toolbar as per this doc: https://www.tinymce.com/docs/demo/custom-toolbar-button/

lucidlive commented 8 years ago

Thanks so much for this - solved my issue of not being able to add custom buttons.

vklein commented 8 years ago

+1

TroyAlford commented 8 years ago

:+1: - this would be a great addition.

dschoon commented 8 years ago

Any update on merging this? I could really use it too.

TroyAlford commented 8 years ago

@mzabriskie - any possibility we could get some attention on this?