--- a/client/src/HtmlSerializer.js Mon Oct 01 00:17:45 2018 +0200
+++ b/client/src/HtmlSerializer.js Mon Oct 08 03:24:47 2018 +0200
@@ -35,7 +35,7 @@
return <ol>{children}</ol>;
case 'bulleted-list':
return <ul>{children}</ul>;
- case 'list-item':
+ case 'list-item':
return <li>{children}</li>;
case 'paragraph':
case 'line':
@@ -65,7 +65,7 @@
case 'underlined':
return <ins>{children}</ins>
case 'category':
- return <span style={{ backgroundColor: obj.data.get('color') }}>{children}</span>
+ return <span style={{ backgroundColor: obj.get('color') }}>{children}</span>
default: return;
}
}