From 2238bc22109e49bdeef018698db248dcd59df053 Mon Sep 17 00:00:00 2001 From: RonanDrouglazet Date: Thu, 28 Jan 2016 17:48:43 +0100 Subject: [PATCH] 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 --- ckeditor/ckeditor.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ckeditor/ckeditor.d.ts b/ckeditor/ckeditor.d.ts index b3c2f45243..88fee3674d 100644 --- a/ckeditor/ckeditor.d.ts +++ b/ckeditor/ckeditor.d.ts @@ -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; } -} \ No newline at end of file +}