GetSimple Support Forum

Full Version: GS editor width
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there possible to enable this:
define('GSEDITORWIDTH', '540');
As a option like:
define('GSEDITORHEIGHT', '400');

Would be great to easy the editor width.
edit admin\edit.php
below line 304 add:
width: 540,

This is the fastest way, but it's not that hard to add some php code and define the width from within gsconfig.php
When will this be needed though?

It would indeed be easy to implement an option for it in gsconfig but the admin pages have a fixed width so to me it seems stupid to give only the editor a flexible width. Of course if you can come up with some use cases where this is necessary we will be happy to implement it.
The width was never set as a GSCONFIG option because the control panel's left-hand side is only so wide. If we make it wider, it will screw with the layout...
I only posted a solution Wink

Anyway it can be used only in custom admin skin, or with Mike's customfield plugin with my textarea hack. Although I hadn't luck to force customfield's ckeditor instance to operate with GS ckedit theme.
I wanted the option cause i wanted the same size in edit as the size of the page that will be showen.

If the page is 750px i want to edit in the same width.

//Maxpop