Make sure to set comment property of block when creating a new block via XML using the adapter. Update unit tests.

This commit is contained in:
Karishma Chadha 2018-06-15 13:58:03 -04:00
parent 29b79878bc
commit 76b423e481
3 changed files with 33 additions and 0 deletions
src/engine

View file

@ -86,6 +86,11 @@ const domToBlock = function (blockDOM, blocks, isTopBlock, parent) {
}
break;
}
case 'comment':
{
block.comment = xmlChild.attribs.id;
break;
}
case 'value':
case 'statement':
{