stop eating baskspaces on firefox

This commit is contained in:
MathMan05 2025-04-09 15:06:27 -05:00
parent 2ede633dfa
commit 9a9ee173ca

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;
}