We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28574e7 commit 7231419Copy full SHA for 7231419
packages/markdown-slate/src/slateToCiceroMarkDom.js
@@ -27,6 +27,7 @@ const removeEmptyParagraphs = (input) => {
27
let nodesWithoutBlankParagraphs = [];
28
input.nodes.forEach(node => {
29
if (node.$class === 'org.accordproject.commonmark.Paragraph' &&
30
+ node.nodes.length === 1 &&
31
node.nodes[0].$class === 'org.accordproject.commonmark.Text' &&
32
node.nodes[0].text === '') {
33
return;
0 commit comments