mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-18 19:23:40 +00:00
Fix formatting in contenteditable
This commit is contained in:
parent
bc7f671c0f
commit
5b235c1f41
@ -60,7 +60,7 @@
|
||||
content += "\n"
|
||||
}
|
||||
|
||||
if (child.tagName === "DIV" && child.children[0]?.tagName === "BR") {
|
||||
if (child.tagName === "DIV" && !child.querySelector("br")) {
|
||||
content += "\n"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user