add data check for editor

This commit is contained in:
Mo Bitar
2017-02-28 09:24:59 -06:00
parent ba68e287ce
commit 4dc2cfffb7

View File

@@ -5,6 +5,9 @@ class Editor extends Item {
if(!this.notes) {
this.notes = [];
}
if(!this.data) {
this.data = {};
}
}
mapContentToLocalProperties(contentObject) {