stop eating baskspaces on firefox

This commit is contained in:
MathMan05 committed 2025-04-09 15:06:27 -05:00
1 parent 2ede633dfa
commit 9a9ee173ca
1 file changed
+2 -2
+2 -2
View File
@@ -701,10 +701,10 @@ class MarkDown {
if (
last &&
last instanceof HTMLElement &&
last.contentEditable &&
!(last instanceof HTMLBRElement)
(last.contentEditable === "false" || last instanceof HTMLBRElement)
) {
span.append(current);
console.log(current);
}
return span;
}