tinymce-rails
tinymce-rails copied to clipboard
tinymce.yml settings not affecting editor
Hi there!
For some reason, whatever I set in config/tinymce.yml does not seem to affect at all the editor. Is there a reason for this happening?
In example, I would have this:
toolbar:
- styleselect | bold | undo redo
- image | link
plugins:
- image
- link
- table
- colorpicker
You can see there is no italic. Yet the editor has Italic, a bunch other options I didn't set, and missing a bunch others.
Do I need to specify somehow that my config/tinymce.yml file is there and should be used?
Are you using the tinymce helper to initialize TinyMCE or your own code? See https://github.com/spohlenz/tinymce-rails/blob/master/sandbox/app/views/editor/helpers.html.erb for an example. No extra configuration should be required (and your example works for me).