Jaona
Jaona

Reputation: 1

Is there a way of adding tinymce plugin in this gem refinerycms-tinymce?

I'm using refinerycms-tinymce gem in my rails app and i want to use new plugins in the tinymce editor like bootsrap-widgets

Is there any simple way of doing that or changing the default configuration of tinymce?

I've tried to create an initializer like this:

Refinery::Tinymce.configure do |config|
  config.plugins = 'bootstrap-widgets'
  config.editor_settings = {
    toolbar: 'undo redo | bold italic | alignleft aligncenter alignright | bullist numlist outdent indent | link image'
  }
end

but i didn't succeed yet.

EDIT

For example:

  1. When i removed "| link image"
  2. restart server
  3. Result => i still get the link and image item in the editor

Upvotes: 0

Views: 31

Answers (0)

Related Questions