diff --git a/src/components/chat/markupTooltip.ts b/src/components/chat/markupTooltip.ts index 9f98ac1b..2c9d5493 100644 --- a/src/components/chat/markupTooltip.ts +++ b/src/components/chat/markupTooltip.ts @@ -129,6 +129,10 @@ export default class MarkupTooltip { } public showLinkEditor() { + if(!this.container || !this.container.classList.contains('is-visible')) { // * if not inited yet (Ctrl+A + Ctrl+K) + this.show(); + } + const button = this.buttons.link; this.container.classList.add('is-link');