<![CDATA[ Support/Comments for TinymceWrapper - MODX Community Forums]]> https://forums.modx.com/thread/?thread=97694 <![CDATA[Re: Support/Comments for TinymceWrapper]]> https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=59#dis-post-564351 Quote from: formulax at Mar 08, 2019, 02:44 PM
Quote from: donshakespeare at Mar 08, 2019, 06:29 AM
Hello. Any errors in your browser?
Right-click to inspect chrome with dev-tools

Uncaught ReferenceError: $TinymceWrapperLinkList is not defined
at Ext.onReady.delay (?a=resource/update&id=3:319)
at ext-all.js:21
at b (ext-all.js:21)

Was the method I described the correct way to do it? Renaming every chunk to end with -custom?
TinymceWrapperLinkList is referenced by name in the TinymceWrapperCommonCode chunk, so if you rename TinymceWrapperLinkList to TinymceWrapperLinkList-custom, then you need to edit TinymceWrapperCommonCode and change:
link_list:[ 
  [[$TinymceWrapperLinkList]] 
],

to:
link_list:[ 
  [[$TinymceWrapperLinkList-custom]] 
],

that is, IF you are actually using TinymceWrapperLinkList. If there is a dash in front of the dollar sign ([[-$TinymceWrapperLinkList]]) then it's not in use.]]>
rainbowtiger Mar 08, 2019, 03:11 PM https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=59#dis-post-564351
<![CDATA[Re: Support/Comments for TinymceWrapper]]> https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=59#dis-post-564350
How many posts needed for this plugin .

All respect to you guys]]>
sriananda Mar 08, 2019, 02:57 PM https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=59#dis-post-564350
<![CDATA[Re: Support/Comments for TinymceWrapper]]> https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=59#dis-post-564349 Quote from: donshakespeare at Mar 08, 2019, 06:29 AM
Hello. Any errors in your browser?
Right-click to inspect chrome with dev-tools

Uncaught ReferenceError: $TinymceWrapperLinkList is not defined
at Ext.onReady.delay (?a=resource/update&id=3:319)
at ext-all.js:21
at b (ext-all.js:21)

Was the method I described the correct way to do it? Renaming every chunk to end with -custom?]]>
formulax Mar 08, 2019, 02:44 PM https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=59#dis-post-564349
<![CDATA[Re: Support/Comments for TinymceWrapper]]> https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=59#dis-post-564341 Right-click to inspect chrome with dev-tools]]> donshakespeare Mar 08, 2019, 06:29 AM https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=59#dis-post-564341 <![CDATA[Re: Support/Comments for TinymceWrapper]]> https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=59#dis-post-564340 Quote from: rainbowtiger at Mar 07, 2019, 07:06 PM

FYI, the best practice is to edit the plugin TinymceWrapper itself, set up a new custom property set, add a "chunkSuffix" to the custom property set, and set the System Events to all use the custom property set. If you don't do this, then all the changes you enter into the chunks will get overwritten the next time you upgrade to a newer version of TinymceWrapper.

Not quite sure what to do here. I created the new set, and added the suffix property with a value of -custom. And made checked system events use the new set. Editor does not load after that, so I went in and renamed every chunk under the tinymcewrapper folder to end in -custom.

The editor is still not loading. Not sure what the proper protocol is, I've not got into custom property sets before.

Thanks,
Steve]]>
formulax Mar 08, 2019, 06:24 AM https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=59#dis-post-564340
<![CDATA[Re: Support/Comments for TinymceWrapper]]> https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=58#dis-post-564339 Quote from: rainbowtiger at Mar 07, 2019, 07:06 PM
Quote from: formulax at Mar 07, 2019, 05:24 PM
Also, when I add an image, I have a drop-down for class: There are two pre-defined classes in the list. How do I edit, or add to that list?

All these settings are in Chunks. Go in your Chunks, into TinyMceWrapper, then into TinyMce, then into Backend. You'll see all the settings file there. Most of what you want is in TinymceWrapperCommonCode and TinymceWrapperContent (and TinymceWrapperTVs). This is all standard Tinymce setting stuff, so you visit that site (https://www.tiny.cloud/docs/configure/editor-appearance/ and other pages in the Configuration Reference section) for details on all the various options you can install.

link_class_list is in TinymceWrapperCommonCode.
Button config (toolbar, toolbar1, toolbar2, etc.) is in TinymceWrapperContent.

FYI, the best practice is to edit the plugin TinymceWrapper itself, set up a new custom property set, add a "chunkSuffix" to the custom property set, and set the System Events to all use the custom property set. If you don't do this, then all the changes you enter into the chunks will get overwritten the next time you upgrade to a newer version of TinymceWrapper.

Thank you, I really appreciate the thorough response!]]>
formulax Mar 08, 2019, 05:33 AM https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=58#dis-post-564339
<![CDATA[Re: Support/Comments for TinymceWrapper]]> https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=58#dis-post-564331 Quote from: formulax at Mar 07, 2019, 05:24 PM
Also, when I add an image, I have a drop-down for class: There are two pre-defined classes in the list. How do I edit, or add to that list?

All these settings are in Chunks. Go in your Chunks, into TinyMceWrapper, then into TinyMce, then into Backend. You'll see all the settings file there. Most of what you want is in TinymceWrapperCommonCode and TinymceWrapperContent (and TinymceWrapperTVs). This is all standard Tinymce setting stuff, so you visit that site (https://www.tiny.cloud/docs/configure/editor-appearance/ and other pages in the Configuration Reference section) for details on all the various options you can install.

link_class_list is in TinymceWrapperCommonCode.
Button config (toolbar, toolbar1, toolbar2, etc.) is in TinymceWrapperContent.

FYI, the best practice is to edit the plugin TinymceWrapper itself, set up a new custom property set, add a "chunkSuffix" to the custom property set, and set the System Events to all use the custom property set. If you don't do this, then all the changes you enter into the chunks will get overwritten the next time you upgrade to a newer version of TinymceWrapper.]]>
rainbowtiger Mar 07, 2019, 07:06 PM https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=58#dis-post-564331
<![CDATA[Re: Support/Comments for TinymceWrapper]]> https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=58#dis-post-564326 formulax Mar 07, 2019, 05:24 PM https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=58#dis-post-564326 <![CDATA[Re: Support/Comments for TinymceWrapper]]> https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=58#dis-post-564325 ]]> formulax Mar 07, 2019, 05:14 PM https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=58#dis-post-564325 <![CDATA[Re: Support/Comments for TinymceWrapper]]> https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=58#dis-post-564005
@nitrojane try this Extra (yours preemtively!)
https://modx.com/extras/package/exportelementproperties]]>
donshakespeare Feb 08, 2019, 03:18 AM https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=58#dis-post-564005