<![CDATA[ Is it possible to change the height of the TinyMCE editor via ManagerManager? - My Forums]]> https://forums.modx.com/thread/?thread=45276 <![CDATA[Re: Is it possible to change the height of the TinyMCE editor via ManagerManager?]]> https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-555967 Quote from: pauhana at Jun 03, 2014, 02:05 PM
I know, this thread is old, but I'm looking to do the exact same thing (change the height of the TinyMCE) in Revo. Can anyone shed some light on how I go about doing this?
Quote from: joe-petts at Nov 21, 2017, 10:41 AM
I'm looking for this config too. I use the Plugin "TinyMCE Rich Text Editor 1.2.0" for Revo 2.6.0.
Somebody any idea?

Hi everybody!
I know this thread is old, but today i was have the same problem and i find a solution for MODx Revo. I'm not sure it is good enough, but it's worked. If you have a TV with an input type "HTML Area (richtext)" and you use the Tinymcerte editor for it, then you need to find the file:
assets/components/tinymcerte/js/vendor/tinymce/tinymce.min.js

Find this part of the string at line 12430:
.... r.offsetHeight, a = n.min_height || 100 ......

Change 100 to any height you wish and enjoy!

PS
The value is in "px"]]>
colorwebdesigner Dec 19, 2017, 06:08 AM https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-555967
<![CDATA[Re: Is it possible to change the height of the TinyMCE editor via ManagerManager?]]> https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-555394
Somebody any idea?]]>
joe-petts Nov 21, 2017, 10:41 AM https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-555394
<![CDATA[Re: Is it possible to change the height of the TinyMCE editor via ManagerManager?]]> https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-499299 ]]> pauhana Jun 03, 2014, 02:05 PM https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-499299 <![CDATA[Re: Is it possible to change the height of the TinyMCE editor via ManagerManager?]]> https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-261392 This is not the solution, but if you have time to figure it out.. this might give you something to start with..

I was thinking something like this (in manager rules):

if($content['id'] == 42){
echo <<<END

<script type="text/javascript">

d = document.getElementById('ta');
d.style.height="1000px";
alert(d.style.height); //this line is just for debug

</script>

END;

}



Bithacky smiley]]>
jarnokk Oct 25, 2010, 11:26 AM https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-261392
<![CDATA[Re: Is it possible to change the height of the TinyMCE editor via ManagerManager?]]> https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-261391 hsteel Oct 18, 2010, 06:37 PM https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-261391 <![CDATA[Re: Is it possible to change the height of the TinyMCE editor via ManagerManager?]]> https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-261390
Elements -> Manage Elements -> Plugins -> TinyMCE -> Configuration tab

at the bottom are fields for width and height. Of course this is global, rather than for specific pages...]]>
ncrossland Oct 01, 2010, 03:36 AM https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-261390
<![CDATA[Re: Is it possible to change the height of the TinyMCE editor via ManagerManager?]]> https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-261389 It’s a shame it can’t be done (yet) but at least I know now so I can stop researching it.

Thanks again
Harmony]]>
hsteel Sep 30, 2010, 06:09 PM https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-261389
<![CDATA[Re: Is it possible to change the height of the TinyMCE editor via ManagerManager?]]> https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-261388 Unfortunately this isn’t possible at the moment, but if it’s a request you’d like to be considered please file it on Jira. My personal feeling is that since TinyMCE is a plugin anyway, it should be added as a setting for that, rather than in MgrMgr (which is more about modifying the core rather than other plugins).]]> ncrossland Sep 30, 2010, 03:58 AM https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-261388 <![CDATA[Is it possible to change the height of the TinyMCE editor via ManagerManager?]]> https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-261387 I’m wondering if this is even possible, and if so how I would go about doing it. Any help would be really appreciated!

I’d like to be able to change the height of the TinyMCE editor for the client, and make this specific for certain pages such as the homepage, e.g.

// Homepage rules
$list_tpl = ’5’;
mm_hideFields(’content,show_in_menu,introtext’, ’’, $list_tpl);
something here to make the TinyMCE editor shorter for this template only

Thanks
Harmony]]>
hsteel Sep 13, 2010, 09:27 PM https://forums.modx.com/thread/45276/is-it-possible-to-change-the-height-of-the-tinymce-editor-via-managermanager#dis-post-261387