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:
Damiano
2014-10-17 08:12:05 +02:00
parent 4dd796bb15
commit 01439a37fc

View File

@@ -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;
}
}
}