Opened 11 years ago

Closed 5 years ago

#1840 closed Bug (fixed)

"-" in id for ToolbarLocation throws error

Reported by: thatvetguy Owned by:
Priority: Normal Milestone:
Component: UI : Toolbar Version: FCKeditor 2.5.1
Keywords: Cc:

Description

var oFCKeditor = new FCKeditor(id) ;
oFCKeditor.BasePath	= 'resources/fckeditor/';
oFCKeditor.Height = 400;
oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:ddd-toolbar';
oFCKeditor.Value = value;
return oFCKeditor.CreateHtml();

gives an alert: Invalid value for 'ToolbarLocation'

is this a bug or an expected behaviour?

Change History (2)

comment:1 Changed 11 years ago by Wojciech Olchawa

Component: GeneralUI : Toolbar
Keywords: Confirmed added
Priority: LowNormal

Confirmed in all browsers.

comment:2 Changed 5 years ago by Jakub Ś

Resolution: fixed
Status: confirmedclosed

In CKEditor it is possible to specify toolbar location in e.g. sharedspaces sample and "-" doesn't cause problems there.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy