Fix showing markup tooltip with Ctrl+K

This commit is contained in:
Eduard Kuzmenko 2021-01-30 18:34:37 +02:00
parent 9a4c120522
commit b2126e385f

View File

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