close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


How do I control the width of CK Editor

Thread began 2/22/2012 7:41 am by mrs | Last modified 2/22/2012 2:25 pm by Jason Byrnes | 875 views | 1 replies |


How do I control the width of CK Editor

I've come across a problem for the way PowerCMS Builder and CK Editor presents the editor window.

Basically, the website I have built is made up of different columns and each column is of different widths. The problem is that the client is struggling to associate the width of the editor window (which is full width to the admin page), to what could be a narrow column on the public site of the website. They are worried they might add content that is too wide for the column it's going to sit in.

So, my question is this... is there a way to dynamically resize the editor window to equal the column width that is on the public side of the site?

In a round about way, this is going to lead to my previous question posted here:


Because the styles in CK Editor don't match the styles I've used on the public side of the site, can I include my CSS in the editor to ensure that what the administrator is typing in the editor matches the public side?



Sign in to reply to this post

Jason ByrnesWebAssist

on the contents update and contents insert pages of power cms the width and height are controlled by the following lines:

$CKEditor_config["width"] = "98%";
$CKEditor_config["height"] = "300px";

you would need to hand code the logic to dynamically set those. It is not something we can support here in the forums

regarding CSS, see my reply to the other thread you started.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...