(How to set config settings when instantiating) |
|||
Line 1: | Line 1: | ||
− | How to set config settings when instantiating:<br> | + | How to set config settings when instantiating:<br> |
+ | |||
+ | $oFCKeditor->Config['varName'] = 'value';<br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | These variables will be available as editorInstance.Config.varName<br> | ||
+ | |||
− | |||
<br> | <br> | ||
− | + | There are some settings that should be explained before the config options as they can be set only here, not in the config file:<br> | |
+ | |||
+ | $oFCKeditor->Width = '100%' ;<br> $oFCKeditor->Height = '200' ;<br> $oFCKeditor->ToolbarSet = 'Default' ;<br><br> |
Revision as of 22:21, 21 May 2008
How to set config settings when instantiating:
$oFCKeditor->Config['varName'] = 'value';
These variables will be available as editorInstance.Config.varName
There are some settings that should be explained before the config options as they can be set only here, not in the config file:
$oFCKeditor->Width = '100%' ;
$oFCKeditor->Height = '200' ;
$oFCKeditor->ToolbarSet = 'Default' ;