Opened 7 years ago

Closed 7 years ago

#9171 closed Task (fixed)

Error in the documentation

Reported by: uniterre Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description

Hi, On this page, http://docs.cksource.com/FCKeditor_3.x/Design_and_Architecture/Dialog_System

it is written that :

buttons: [

CKEDITOR.dialog.okButton( {

label: 'Go'

}),

CKEDITOR.dialog.cancelButton

]

I think, you must write :

buttons: [

CKEDITOR.dialog.okButton.override( {

label: 'Go'

}),

CKEDITOR.dialog.cancelButton

]

Change History (2)

comment:1 Changed 7 years ago by Jakub Ś

Status: newconfirmed
Version: 3.6.43.0

There are actually two ways to do it:

buttons: [
	CKEDITOR.dialog.okButton( editor, {
			label: 'Go'
		}),

	CKEDITOR.dialog.cancelButton
]

or

buttons: [
	CKEDITOR.dialog.okButton.override( {
			label: 'Go'
		}),

	CKEDITOR.dialog.cancelButton
]

Docs updated. Thanks @axm.

comment:2 Changed 7 years ago by Jakub Ś

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