diff --git a/express/blocks/long-text/long-text.js b/express/blocks/long-text/long-text.js index ba150154..46b4994b 100644 --- a/express/blocks/long-text/long-text.js +++ b/express/blocks/long-text/long-text.js @@ -16,4 +16,8 @@ export default function decorate(block) { block.remove(); } } + if (block.querySelector('p').textContent === 'null' + || block.querySelector('p').textContent === null) { + block.querySelector('p').remove(); + } }