mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-16 13:09:43 +00:00
fix edit bug
This commit is contained in:
@@ -1009,7 +1009,7 @@ class Message extends SnowFlake {
|
||||
area.addEventListener("keyup", (event) => {
|
||||
if (this.localuser.keyup(event)) return;
|
||||
if (event.key === "Enter" && !event.shiftKey) {
|
||||
this.edit(md.rawString);
|
||||
this.edit(MarkDown.gatherBoxText(area));
|
||||
this.channel.editing = null;
|
||||
this.generateMessage();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user