two empty lines added at the end of the inserted text
This commit is contained in:
parent
4a789bac11
commit
75dff8b292
1 changed files with 3 additions and 0 deletions
|
|
@ -85,6 +85,9 @@ const insertText = function (text, fullBody_string) {
|
|||
sibling = divider.previousSibling;
|
||||
}
|
||||
}
|
||||
let final_p = document.createElement("p");
|
||||
final_p.innerHTML = "<p><br/><br/></p>";
|
||||
fullBody.body.insertBefore(final_p, fullBody.body.firstChild);
|
||||
makeParagraphs(text, function (p) {
|
||||
fullBody.body.insertBefore(p, fullBody.body.firstChild);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue