@@ -205,6 +205,11 @@ function update(node, curr, next) {
205 switch(nextE.ctor) {
205 switch(nextE.ctor) {
206 case "Spacer": break;
206 case "Spacer": break;
207 case "RawHtml":
207 case "RawHtml":
208+ // only markdown blocks have guids, so this must be a text block
209+ if (nextE.guid === null) {
210+ node.innerHTML = nextE.html;
208 if (nextE.guid !== currE.guid) {
213 if (nextE.guid !== currE.guid) {
209 node.parentNode.replaceChild(render(next),node);
214 node.parentNode.replaceChild(render(next),node);
210 return true;
215 return true;
@@ -267,7 +272,7 @@ function update(node, curr, next) {
269 case "Container":
274 case "Container":
270− update(node.firstChild, currE._1, nextE._1)
275+ update(node.firstChild, currE._1, nextE._1);
271 setPos(nextE._0, nextE._1.props.width, nextE._1.props.height, node.firstChild);
276 setPos(nextE._0, nextE._1.props.width, nextE._1.props.height, node.firstChild);
273 case "Custom":
278 case "Custom":