mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Update ckeditor.d.ts getData and setData
FIXED getData() to allow calling without parameter as in the example http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-getData FIXED setData(...) parametes http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setData
This commit is contained in:
6
ckeditor/ckeditor.d.ts
vendored
6
ckeditor/ckeditor.d.ts
vendored
@@ -678,7 +678,7 @@ declare module CKEDITOR {
|
||||
getClipboardData(options: Object, callback: Function): void;
|
||||
getColorFromDialog(callback: Function, scope?: Object): void;
|
||||
getCommand(commandName: string): command;
|
||||
getData(noEvents: Object): string;
|
||||
getData(noEvents?: Object): string;
|
||||
getMenuItem(name: string): Object;
|
||||
getResizable(forContents: boolean): dom.element;
|
||||
getSelection(forceRealSelection?: boolean): dom.selection;
|
||||
@@ -707,7 +707,7 @@ declare module CKEDITOR {
|
||||
selectionChange(checkNow?: boolean): void;
|
||||
setActiveEnterMode(enterMode: number, shiftEnterMode: number): void;
|
||||
setActiveFilter(filter: filter): void;
|
||||
setData(data: string, callback: Function, internal: boolean): void;
|
||||
setData(data: string, options?: { internal?: boolean; callback?: Function; noSnapshot?: boolean; }): void;
|
||||
setKeystroke(keystroke: number, behavior?: string): void;
|
||||
setKeystroke(keystroke: any[], behavior?: string): void;
|
||||
setKeystroke(keystroke: number, behavior?: boolean): void;
|
||||
@@ -963,4 +963,4 @@ declare module CKEDITOR {
|
||||
addFocusable(element: CKEDITOR.dom.element, index: number): void;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user