diff --git a/src/editor/config/config.js b/src/editor/config/config.js index 23153cca2..572e183ed 100644 --- a/src/editor/config/config.js +++ b/src/editor/config/config.js @@ -98,7 +98,7 @@ module.exports = { // When false, removes empty text nodes when parsed, unless they contain a space keepEmptyTextNodes: 0, - + // Return JS of components inside HTML from 'editor.getHtml()' jsInHtml: true, diff --git a/src/parser/model/ParserHtml.js b/src/parser/model/ParserHtml.js index aa7fe369f..5b4664e8e 100644 --- a/src/parser/model/ParserHtml.js +++ b/src/parser/model/ParserHtml.js @@ -57,7 +57,6 @@ module.exports = config => { * @return {Array} */ parseNode(el) { - const config = (c.em && c.em.get('Config')) || {}; const result = []; const nodes = el.childNodes;