mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-30 17:04:20 +08:00
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:
4
ckeditor/ckeditor.d.ts
vendored
4
ckeditor/ckeditor.d.ts
vendored
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user