diff --git a/config/current.ver b/config/current.ver index 63b41b2..fae04a2 100644 --- a/config/current.ver +++ b/config/current.ver @@ -1 +1 @@ -1.1.28 \ No newline at end of file +1.1.29 \ No newline at end of file diff --git a/public/assets/js/bridge/rte-editor.js b/public/assets/js/bridge/rte-editor.js index 5d60195..144fc63 100644 --- a/public/assets/js/bridge/rte-editor.js +++ b/public/assets/js/bridge/rte-editor.js @@ -185,7 +185,7 @@ wrapper.childNodes.forEach((node) => { if (node.nodeType === 3) { const text = node.textContent || ''; - if (text) newComps.push({ type: 'textnode', content: text }); + newComps.push({ type: 'textnode', content: text }); } else if (node.nodeType === 1) { const tag = node.tagName ? node.tagName.toLowerCase() : ''; if (tag === 'br') {