From 85c6147831b1afd6a1fe74112cb047aad831ae85 Mon Sep 17 00:00:00 2001 From: Fabien Winkler Date: Thu, 28 Sep 2023 16:59:46 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20text=20btn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Drawer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Drawer.ts b/src/Drawer.ts index 52fd829..46dcd51 100644 --- a/src/Drawer.ts +++ b/src/Drawer.ts @@ -678,7 +678,8 @@ export class Drawer extends History { return new Promise((resolve, reject) => { try { if (this.$toolbar && !this.$textBtn) { - const $textBtn = stringToHTMLElement(this.textBtnHtml()); + const textBtn = /*html*/``; + const $textBtn = stringToHTMLElement(textBtn); this.$textBtn = $textBtn; this.$toolbar.appendChild(this.$textBtn);