<![CDATA[ TinyMCE RTE: Custom link and image CSS list - MODX Community Forums]]> https://forums.modx.com/thread/?thread=100837 <![CDATA[TinyMCE RTE: Custom link and image CSS list]]> https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-544651
Thanks]]>
istvan.velsz Sep 01, 2016, 01:59 PM https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-544651
<![CDATA[Re: TinyMCE RTE: Custom link and image CSS list]]> https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-560593 Quote from: rgliberty at Dec 14, 2017, 03:42 AM
Quote from: matdave at Oct 03, 2016, 02:30 PM
It's similar to what donshakespeare said. In the system settings there are two options for tinymcerte.link_classes and tinymcerte.image_classes. Those settings expect JSON classes and code e.g.
[{"title":"None","value":""},{"title":"No Border","value":"no-border"}] 

I've spent many hours over many months looking for this one answer! Which crypto would you like to be paid in smiley

DITTO.. just lost 2 hours trying to figure this one out. THANKS!]]>
msjetboy Aug 09, 2018, 08:33 PM https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-560593
<![CDATA[Re: TinyMCE RTE: Custom link and image CSS list]]> https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-557392 Quote from: matdave at Oct 03, 2016, 02:30 PM
It's similar to what donshakespeare said. In the system settings there are two options for tinymcerte.link_classes and tinymcerte.image_classes. Those settings expect JSON classes and code e.g.
[{"title":"None","value":""},{"title":"No Border","value":"no-border"}] 

Great mate thanks!!!!]]>
Ysanmiguel Mar 15, 2018, 02:37 PM https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-557392
<![CDATA[Re: TinyMCE RTE: Custom link and image CSS list]]> https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-555867 Quote from: matdave at Oct 03, 2016, 02:30 PM
It's similar to what donshakespeare said. In the system settings there are two options for tinymcerte.link_classes and tinymcerte.image_classes. Those settings expect JSON classes and code e.g.
[{"title":"None","value":""},{"title":"No Border","value":"no-border"}] 

I've spent many hours over many months looking for this one answer! Which crypto would you like to be paid in smiley]]>
rgliberty Dec 14, 2017, 03:42 AM https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-555867
<![CDATA[Re: TinyMCE RTE: Custom link and image CSS list]]> https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-545444
[{"title":"None","value":""},{"title":"No Border","value":"no-border"}] 
]]>
matdave Oct 03, 2016, 02:30 PM https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-545444
<![CDATA[Re: TinyMCE RTE: Custom link and image CSS list]]> https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-544699 I'm too stupid to integrate a list of styles for the TinyMCE RTE add-on. I tried several ways, like comma separated list, ... I also tried to copy the complete example from the docs in the field. It's not possible. Please can you give me an short example how to integrate a list?
I think, only TinymceWrapper is currently supported here on the forum.
With TinymceWrapper, whatever you see on the TinyMCE docs, can be done, period! no stupid magic to implore first.

Just paste that in your init chunk, done!
tinymce.init({
  ... ,
  link_class_list: [
    {title: 'None', value: ''},
    {title: 'prettyLink', value: 'prettyLink'},
    {title: 'colorBox', value: 'colorBox'}
  ],
  image_class_list: [
    {title: 'None', value: ''},
    {title: 'prettyPhoto', value: 'prettyPhoto'},
    {title: 'colorBox', value: 'colorBox'}
  ],
  ...
})


And stop feeling stupid, start feeling awesome with TinymceWrapper smiley
Maybe it is past high time to make that irreversible switch!!!!!?????

Full TinymceWrapper support thread, get on board yesterday!!!]]>
donshakespeare Sep 02, 2016, 05:25 PM https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-544699
<![CDATA[Re: TinyMCE RTE: Custom link and image CSS list]]> https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-544681 istvan.velsz Sep 02, 2016, 08:46 AM https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-544681 <![CDATA[Re: TinyMCE RTE: Custom link and image CSS list]]> https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-544659 claytonk Sep 01, 2016, 04:45 PM https://forums.modx.com/thread/100837/tinymce-rte-custom-link-and-image-css-list#dis-post-544659