CKEDITOR.inline arguments

Take a string OR HTMLElement on first param 

here 
http://docs.ckeditor.com/source/inline.html#CKEDITOR-method-inline

then here 
http://docs.ckeditor.com/source/element.html#CKEDITOR-dom-element-static-method-get

tested on CKEDITOR 4.5.6
This commit is contained in:
RonanDrouglazet
2016-01-28 17:48:43 +01:00
parent 86dbea8fc3
commit 2238bc2210

View File

@@ -80,7 +80,7 @@ declare module CKEDITOR {
function getTemplate(name: string): template;
function getUrl(resource: string): string;
function inline(element: string, instanceConfig?: config): editor;
function inline(element: HTMLTextAreaElement, instanceConfig?: config): editor;
function inline(element: HTMLElement, instanceConfig?: config): editor;
function inlineAll(): void;
function loadFullCore(): void;
function replace(element: string, config?: config): editor;
@@ -1147,4 +1147,4 @@ declare module CKEDITOR {
function load(languageCode: string, defaultLanguage: string, callback: Function): void;
function detect(defaultLanguage: string, probeLanguage: string): string;
}
}
}