add data check for editor
This commit is contained in:
@@ -5,6 +5,9 @@ class Editor extends Item {
|
|||||||
if(!this.notes) {
|
if(!this.notes) {
|
||||||
this.notes = [];
|
this.notes = [];
|
||||||
}
|
}
|
||||||
|
if(!this.data) {
|
||||||
|
this.data = {};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mapContentToLocalProperties(contentObject) {
|
mapContentToLocalProperties(contentObject) {
|
||||||
|
|||||||
Reference in New Issue
Block a user