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 Frederico Caldeira Knabben

Keywords: FormatIndentator removed
Milestone: FCKeditor 3.0

This one should came with #30.

comment:2 Changed 17 years ago by Wojciech Olchawa

Keywords: Confirmed added

Confirmed

comment:3 Changed 16 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.0CKEditor 3.x

comment:4 Changed 14 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x

Milestone CKEditor 3.x deleted

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy