Resize Editor Field

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

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 Donna - July 5, 2010

Hi Equinox,

Yup, that's always been available. :) You can set the default field height of any WYSIWYG field when you create it. To edit it later, go to the Section Editor, modify the section you want, then modify the WYISYWG field in question. Under "Field Options" look for Field Height.

I usually set mine to about 500 or so, but fiddle around until you get a size that works for you. :)
Donna

--
support@interactivetools.com

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!