PHP"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(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-&gt;Config['varName'] = 'value';<br>
 +
 
 +
<br>
 +
 
 +
These variables will be available as editorInstance.Config.varName<br>
 +
 
  
$oFCKeditor-&gt;Config['varName'] = 'value';<br>
 
  
 
<br>
 
<br>
  
These variables will be available as editorInstance.Config.varName<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-&gt;Width = '100%' ;<br> $oFCKeditor-&gt;Height = '200' ;<br> $oFCKeditor-&gt;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' ;