Open spartan1024 opened 13 years ago
I guess that's still the bug in ModX manager, not TinyMCE package.
I'm working with MODX Revolution 2.1.3-pl (traditional) and the issue can be fixed by changing the following in 'manager/assets/widgets/element/modx.panel.chunk.js' (and in minified js, of course):
replace
if (MODx.onLoadEditor) { MODx.onLoadEditor(this); }
with
if (MODx.config.use_editor && MODx.loadRTE) { MODx.loadRTE('modx-chunk-snippet'); }
AFAIK this is neither a bug in MODX or Tiny - but rather a function that's simply not supported yet...
Resources & Chunks are two different beasts and I would expect more changes then those few modifications you refer to are needed behind the scenes.
That said - I can definitely see a need for something like this for some clients (though they usually never touch Elements on my sites) and it's good that you guys filed it.
If you need clients to edit chunks for a sidebar or a similar content it may be worth checking out the Asides addon by Romain Tripault,a French dev. I think he's made that to work with TinyMCE as well.
We use Revolution 2.0.7-pl with TinyMCE 4.2.2 plugin. My settings:
which_editor TinyMCE which_element_editor TinyMCE
I can edit Resources with TinyMCE, but it is not available for Chunks. Only raw HTML code input is possible.
That's bad because not every site updater is able to write HTML.
I posted this to modcms issue tracker and they responded:
This is not a bug with the MODX core, but rather a feature request for the TinyMCE extra. TinyMCE issues need to be filed in their respective bugtracker:
http://github.com/splittingred/TinyMCE/issues/
Thanks!