5121 Posts in 1527 Topics by 1119 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 775 Views |
-
Messed up wysiwyg editor

29 November 2009 at 7:20am
hi
i wanted to modify the width of the wysiwyg editor, so i searched for it in the documentation and found this:
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/widthi tried to place it into my _config.php file and my Page.php file, but this didnt work.
then i tried and added this code to my Page.php:
public function getCMSFields() {
$fields = parent::getCMSFields();
HtmlEditorConfig::get('cms')->setOption('width', '460');return $fields;
}
But this somehow messed my editor up. there are no buttons displayed anymore, instead i only see bb codes listed below the textbox.how can i reset the config for the editor?
-
Re: Messed up wysiwyg editor

29 November 2009 at 8:58pm
Simply delete your code changes and everything should work like before. If you make changes to getCMSFields() no changes in the database occure.
-
Re: Messed up wysiwyg editor

30 November 2009 at 3:35am
Hi
thx, i reset to the default template and start from the scratch now
| 775 Views | ||
|
Page:
1
|
Go to Top |


