Browse Source

Merge branch 'dev' of https://github.com/artf/grapesjs into dev

pull/3167/head
Artur Arseniev 6 years ago
parent
commit
527e7a74fe
  1. 2
      src/parser/model/ParserHtml.js

2
src/parser/model/ParserHtml.js

@ -202,7 +202,7 @@ export default config => {
// just make it content of the current node
if (nodeChild === 1 && firstChild.nodeType === 3) {
!model.type && (model.type = 'text');
model.content = firstChild.nodeValue;
model.components = firstChild.nodeValue;
} else {
model.components = this.parseNode(node);
}

Loading…
Cancel
Save