jce icon indicating copy to clipboard operation
jce copied to clipboard

Custom Configuration Variables is not permanent on save

Open kofaysi opened this issue 6 years ago • 2 comments

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?

kofaysi avatar Dec 18 '19 08:12 kofaysi

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

ryandemmer avatar Dec 18 '19 10:12 ryandemmer

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.

kofaysi avatar Dec 19 '19 10:12 kofaysi