tinymce-rails icon indicating copy to clipboard operation
tinymce-rails copied to clipboard

tinymce.yml settings not affecting editor

Open PabloNeirotti opened this issue 11 years ago • 1 comments

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?

PabloNeirotti avatar Oct 03 '14 14:10 PabloNeirotti

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).

spohlenz avatar Oct 03 '14 22:10 spohlenz