Browse Source

Fix showing markup tooltip with Ctrl+K

master
Eduard Kuzmenko 4 years ago
parent
commit
b2126e385f
  1. 4
      src/components/chat/markupTooltip.ts

4
src/components/chat/markupTooltip.ts

@ -129,6 +129,10 @@ export default class MarkupTooltip {
} }
public showLinkEditor() { 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; const button = this.buttons.link;
this.container.classList.add('is-link'); this.container.classList.add('is-link');

Loading…
Cancel
Save