tinymce-rails configuration tinymce.yml -


i'm attempting use tinymce-rails. i'm not how setup tinymce.yml file , documentation doesn't explain much. main issue having setting plugin configurations. example, how 1 setup,

insertdate_dateformat: "%y-%m-%d" 

for following plugin:

- insertdatetime 

yaml below:

theme_advanced_toolbar_location: top theme_advanced_toolbar_align: left theme_advanced_statusbar_location: bottom theme_advanced_buttons3_add:   - tablecontrols   - fullscreen plugins:   - table   - fullscreen   - insertdatetime 

how can done?

make sure use version 4.0 documentation, since assuming using latest version of gem. among other changes, there no longer exists advanced theme, it's called modern.

furthermore, don't need specify theme_blabla anymore. try writing yaml as:

toolbar_location: top toolbar_align: left statusbar_location: bottom buttons3_add:   - tablecontrols   - fullscreen plugins:   - table   - fullscreen   - insertdatetime insertdate_dateformat: "%y-%m-%d" 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -