Open moniarde opened 11 years ago
Confirming the same issue. However I have 3 TVs where this work just fine (RTE has full width - or 95% as per properties) and 1 TV where this issue causes it to be about 380px wide.
funny is that it has different width set - this is captured via Firebug - changed < > brackets into [ ]: [table id="tv11_tbl" class="mceLayout" cellspacing="0" cellpadding="0" role="presentation" style="width: 187px; height: 100px;"]
Platform: MODX Revo 2.2.8pl, TinyMCE plugin 4.3.3
Experience the same. With one and two TinyMCE RichText template variable.
Platform: MODX Revo 2.3.1pl, TinyMCE plugin 4.3.3
The problem is in /assets/components/tinymce/tiny.js When you have Rich Text in Settings checked it calls MODx.loadRTE In other case tinyMCE doesn't initialize. I just added if (Tiny.config.plugins.indexOf(',inlinepopups')<0) MODx.loadRTE(); as the first string in onTVLoad function body. I know it isn't the best solution, but it works for me.
Platform: MODX Revo 2.2.4pl, TinyMCE plugin 4.3.3
I am having problems with the rich text editor as a template variable, where the textarea is only about 380px wide, despite all settings point to make the editor width 100% of the window. A quick test to see if the TV RTE would respond to MODx system settings showed that, when I changed the TinyMCE theme on the main MODx settings, the main content theme changed, but the TV theme did not. I also checked the plugin settings directly; the main content RTE changed width and height on command, but the TV RTE did not.
Primarily, the width of the RTE as a TV needs to be fixed, but beyond that, to connect it with system and plugin settings.
Attached: screen shot of RTE as TV