Remove breaking check for blockId

This commit is contained in:
Tim Mickel 2016-06-06 15:58:40 -04:00
parent 0efe7e2b27
commit f63e261892

View file

@ -15,7 +15,6 @@ var parseDOM = memoize(html.parseDOM, {
module.exports = function (e) {
// Validate input
if (typeof e !== 'object') return;
if (typeof e.blockId !== 'string') return;
if (typeof e.xml !== 'object') return;
return domToBlocks(parseDOM(e.xml.outerHTML));