Resize Editor Field

7 posts by 4 authors in: Forums > CMS Builder
Last Post: July 5, 2010   (RSS)

By avrom - March 3, 2009

Hi Dave,

Is there a way to make the tinymce editor resizable (grab onto window and resize it) ? I know that feature existed before in tinymce but not sure how to do that.

Cheers
Avrom :))

Re: [virgodesign] Resize Editor Field

By Dave - March 4, 2009

Hi Avrom,

Add these options somewhere in the middle of the tinymce configuration options in cmsAdmin/lib/wysiwyg.php:

// Allow user to drag the editor to resize it
// see "theme_advanced_resizing*" options here:
// http://wiki.moxiecode.com/index.php/TinyMCE:Configuration
theme_advanced_statusbar_location : 'bottom',
theme_advanced_resizing : true,

Unfortunately it's not possible to enable it without enabling the statusbar which shoes DOM Tree position as well (Path: p ยป strong, etc).

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Resize Editor Field

By Codee - July 2, 2010

Hi Dave,
This post was from many CMSB versions ago. My client would like a bigger WYSIWYG editor box by default, or one that grows with the content, but isn't necessarily keen on using the toggle-full-page mode. In CMSB 2.04+ is there a way to enable this to occur? Thanks in advance!

Re: [equinox69] Resize Editor Field

By Dave - July 5, 2010

Hi Terry,

You can set the field height in the field editor. Or if you're not afraid to dig into the code we use tinymce for the wysiwyg editor and it has lots of configurable options (which you'd set in wysiwyg.php).

Here's a link to the tinymce docs:
http://wiki.moxiecode.com/index.php/TinyMCE:Index

You might try downloading this plugin and giving it a try:
http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autoresize

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Donna] Resize Editor Field

By Codee - July 5, 2010

Thanks Donna!

Re: [Dave] Resize Editor Field

By Codee - July 5, 2010

Perfect! Thanks Dave! You guys rock!