Artur Arseniev
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
1 additions and
2 deletions
-
src/editor/config/config.js
-
src/parser/model/ParserHtml.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, |
|
|
|
|
|
|
|
|
|
|
|
@ -57,7 +57,6 @@ module.exports = config => { |
|
|
|
* @return {Array<Object>} |
|
|
|
*/ |
|
|
|
parseNode(el) { |
|
|
|
const config = (c.em && c.em.get('Config')) || {}; |
|
|
|
const result = []; |
|
|
|
const nodes = el.childNodes; |
|
|
|
|
|
|
|
|