allow normal right click menu while editing
This commit is contained in:
parent
38e3e13b26
commit
c55dda6ae3
1 changed files with 3 additions and 0 deletions
|
@ -717,6 +717,9 @@ class Message extends SnowFlake {
|
||||||
const fun = saveCaretPosition(area, Infinity);
|
const fun = saveCaretPosition(area, Infinity);
|
||||||
if (fun) fun();
|
if (fun) fun();
|
||||||
});
|
});
|
||||||
|
box.oncontextmenu = (e) => {
|
||||||
|
e.stopImmediatePropagation();
|
||||||
|
};
|
||||||
} else {
|
} else {
|
||||||
this.content.onUpdate = () => {};
|
this.content.onUpdate = () => {};
|
||||||
const messaged = this.content.makeHTML();
|
const messaged = this.content.makeHTML();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue