Hi,
I'm using CKEditor 3.6.2 (revision 7275) in an application and wonder whether it's possible to set the width of the actual editor area. I do not mean the whole editor (which is set to 100% width in my case) but the actual area where entering the text.
The reason is that I want as much of a WYSIWYG experience to my end-users. When typing into the editor, the line breaks etc. should appear at the same position/after the same width) as the page's template you are editing.
The editor in Wordpress for example has this option, where the width of the editable area will be set to the same width as the chooses theme/template. Is there some way to achive this in CKEditor?
Thanks!
See this HOWTO article on
See this HOWTO article on changing editor dimensions.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Please read my question...
Please read my question...
You are referring to version 4 docs and how to set the editor width, not the editable area..
My solution
In CKEditor 4, you can load css style sheet for the editor area by setting
config.contentsCss='/yourpath/mystyle.css'
In mystyle.css file, specify
body
{
width: 430px; /* this will be the width of your editable area */
}
You should look for similar setting for version 3. I am sure there is.
Set width of editor area
The editor in Wordpress for example has this option, where the width of the editable area will be set to the same width as the chooses theme/template. Is there some way to achive this in CKEditor?