stop eating baskspaces on firefox
This commit is contained in:
parent
2ede633dfa
commit
9a9ee173ca
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue