You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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;"]
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
![Screen Shot 2013-01-31 at 5 35 02 PM](https://camo.githubusercontent.com/e7d350921a20152bb8f8361051a997d6da16c15caeeefa77dfed7b18ddbb7e12/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313034333334382f3131343033372f39653939613932322d366238392d313165322d393734662d3934623662356330393738362e706e67)
The text was updated successfully, but these errors were encountered: