Opened 18 years ago
Last modified 14 years ago
#304 confirmed Bug
FormatIndentator cannot be reliably set via script interface
Reported by: | Thomas Tallyce | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
I wish to have the FormatIndentator be a tab rather than 4 spaces. I also generally aim to put as much configuration in the scripting interface (e.g. calling via PHP/ASP/Perl/etc.) so that the config file can avoid having to be altered much.
Using
FCKConfig.FormatIndentator = ' ' ;
in fckconfig.js works fine.
But doing any of the following when calling via script (example in PHP) :
$instanceName->Config['FormatIndentator'] = ' ' ; $instanceName->Config['FormatIndentator'] = " " ; $instanceName->Config['FormatIndentator'] = "\t" ; $instanceName->Config['FormatIndentator'] = "' '" ;
fails. In the first three cases, NaN (not a number) is placed into the HTML source. In the fourth case, a tab surrounded by ' marks is put in (so a tab seems actually possible, just not on its own!)
Change History (4)
comment:1 Changed 18 years ago by
Keywords: | FormatIndentator removed |
---|---|
Milestone: | → FCKeditor 3.0 |
comment:3 Changed 16 years ago by
Milestone: | CKEditor 3.0 → CKEditor 3.x |
---|
This one should came with #30.