I would like to change some behaviours of the editor, but not in general. I want to decide from PHP while creating the editor which behaviour i want to change. For example, in some cases i want to collapse the toolbar, but not in general. Changing the Editor Config like:
FCKConfig.ToobarStartExpanded = false;
would change it for all use cases.
Is it possible to differ from the original Config like this:
$editor = new FCKeditor('test');
$editor->ToobarStartExpanded = false; (doenst work this way)
thanx
FCKConfig.ToobarStartExpanded = false;
would change it for all use cases.
Is it possible to differ from the original Config like this:
$editor = new FCKeditor('test');
$editor->ToobarStartExpanded = false; (doenst work this way)
thanx
RE: Change configuration with PHP
try...
$editor->Config[ToobarStartExpanded] = false; (should work this way)
but im curious if its possible to do this same with turning on the autogrow ????
seems that with using hidden divs when you click on the fck editor (with auto grow used in fckconfig.js
FCKConfig.Plugins.Add( 'autogrow'); ) it causes the div to collapse.
so id like to do this...
$editor->Config[Plugins.Add('autogrow')] = false;
But this does not work...
ideas?