Fix showing markup tooltip with Ctrl+K
This commit is contained in:
parent
9a4c120522
commit
b2126e385f
@ -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…
x
Reference in New Issue
Block a user