From 04720db2a33b6bb01f3593ccebb1ff780f0c2875 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 23 Sep 2019 15:33:30 +0200 Subject: [PATCH] don't append extra newline after blockquote anymore now that P prepends newline when not first element --- src/editor/deserialize.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/editor/deserialize.js b/src/editor/deserialize.js index 947ce30ce7..04edd4541c 100644 --- a/src/editor/deserialize.js +++ b/src/editor/deserialize.js @@ -206,10 +206,6 @@ function parseHtmlMessage(html, partCreator, isQuotedMessage) { parts.push(...newParts); - // extra newline after quote, only if there something behind it... - if (lastNode && lastNode.nodeName === "BLOCKQUOTE") { - parts.push(partCreator.newline()); - } const decend = checkDecendInto(n); // when not decending (like for PRE), onNodeLeave won't be called to set lastNode // so do that here.