allow normal right click menu while editing

This commit is contained in:
MathMan05 2025-04-16 11:14:28 -05:00
parent 38e3e13b26
commit c55dda6ae3

View file

@ -717,6 +717,9 @@ class Message extends SnowFlake {
const fun = saveCaretPosition(area, Infinity);
if (fun) fun();
});
box.oncontextmenu = (e) => {
e.stopImmediatePropagation();
};
} else {
this.content.onUpdate = () => {};
const messaged = this.content.makeHTML();