From 15bdbb0d27711d97b82e73527de90ff72b885db8 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 5 Jan 2021 18:36:50 +0100 Subject: [PATCH] Add missing methods to `RedactorEditor` interface --- .../install/files/ts/WoltLabSuite/Core/Ui/Redactor/Editor.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Redactor/Editor.ts b/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Redactor/Editor.ts index 2882d5fc98..a1b022875b 100644 --- a/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Redactor/Editor.ts +++ b/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Redactor/Editor.ts @@ -31,11 +31,13 @@ export interface RedactorEditor { editor(): JQuery; element(): JQuery; textarea(): JQuery; + toolbar(): JQuery; }; focus: { end(): void; }; insert: { + html(html: string): void; text(text: string): void; }; selection: { -- 2.20.1