<![CDATA[ migx and tinymce 4 code base - My Forums]]> https://forums.modx.com/thread/?thread=96695 <![CDATA[migx and tinymce 4 code base]]> https://forums.modx.com/thread/96695/migx-and-tinymce-4-code-base#dis-post-523299 http://modx.com/extras/package/tinymcerichtexteditor

someone solve richtext support in migx?
it's a bag?]]>
gaserge Mar 24, 2015, 08:50 PM https://forums.modx.com/thread/96695/migx-and-tinymce-4-code-base#dis-post-523299
<![CDATA[Re: migx and tinymce 4 code base (Best Answer)]]> https://forums.modx.com/thread/96695/migx-and-tinymce-4-code-base#dis-post-523313 https://github.com/Bruno17/MIGX/commit/bbbd84614c61aa662fc302ae267b5b02d7226e91

with this, you can leave the inputTVtype 'richtext'
will be in the next version]]>
Bruno17 Mar 25, 2015, 01:23 AM https://forums.modx.com/thread/96695/migx-and-tinymce-4-code-base#dis-post-523313
<![CDATA[Re: migx and tinymce 4 code base]]> https://forums.modx.com/thread/96695/migx-and-tinymce-4-code-base#dis-post-523302 tv for migx type: migxtinymce

and edit file: core/components/migx/elements/tv/tinymce.tpl

add class "modx-richtext" to textarea


add after: field.onLoad = function(){
TinyMCERTE.loadForTVs();

next:
tinyMCE.getInstanceById('{/literal}tv{$tv->id}{literal}').save();
to:
tinyMCE.get('{/literal}tv{$tv->id}{literal}').save();


not sure what is right, but it works]]>
gaserge Mar 24, 2015, 10:09 PM https://forums.modx.com/thread/96695/migx-and-tinymce-4-code-base#dis-post-523302