Opened 13 years ago
Closed 13 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 13 years ago by
| Status: | new → confirmed |
|---|---|
| Version: | 3.6.4 → 3.0 |
comment:2 Changed 13 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | confirmed → closed |

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.