widgetfactory / jce

JCE - A Content Editor for Joomla
https://www.joomlacontenteditor.net
GNU General Public License v2.0
36 stars 13 forks source link

Custom Configuration Variables is not permanent on save #62

Open kofaysi opened 4 years ago

kofaysi commented 4 years ago

I entered a key-value pair

style_formats
[{title : 'Deadline', inline: 'span', classes : 'deadline'},]

and saved it, but it did not remain permanent. The field for entering options reopened blank. What did go wrong, please?

ryandemmer commented 4 years ago

You an and should add style formats using the Custom Styles parameter - https://www.joomlacontenteditor.net/support/tutorials/editor/creating-custom-styles

kofaysi commented 4 years ago

Thank you, dear @ryandemmer. I'll use the Custom styles for my example above.

Could you please, point me to the direction of some working examples that can be written into the Custom Configuration Variables? I'm trying to find out the JCE/TinyMCE possibilities and also to create keyboard shortcuts. The Custom Configuration Variables seems to be the way to do it, but I'm not able to come up with working examples of key-value pairs. Thank you.