Posts: 52
Threads: 5
Joined: May 2010
Is there possible to enable this:
define('GSEDITORWIDTH', '540');
As a option like:
define('GSEDITORHEIGHT', '400');
Would be great to easy the editor width.
Posts: 1,204
Threads: 30
Joined: Jun 2010
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
Addons: blue business theme, Online Visitors, Notepad
Posts: 972
Threads: 27
Joined: Aug 2009
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.
Posts: 1,848
Threads: 86
Joined: Aug 2009
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...
-
Chris
Thanks for using GetSimple! - Download
Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Posts: 1,204
Threads: 30
Joined: Jun 2010
I only posted a solution
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.
Addons: blue business theme, Online Visitors, Notepad
Posts: 52
Threads: 5
Joined: May 2010
2010-10-13, 00:49:59
(This post was last modified: 2010-10-13, 00:51:20 by pesegolsson.)
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