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);