Fixed #1165
This commit is contained in:
parent
f950229708
commit
0f9f6b6034
@ -26,7 +26,7 @@ export default {
|
|||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
parseContent(serializedContent, syncLocation) {
|
parseContent(serializedContent, syncLocation = {}) {
|
||||||
const result = utils.deepCopy(store.state.content.itemMap[`${syncLocation.fileId}/content`])
|
const result = utils.deepCopy(store.state.content.itemMap[`${syncLocation.fileId}/content`])
|
||||||
|| emptyContent();
|
|| emptyContent();
|
||||||
result.text = utils.sanitizeText(serializedContent);
|
result.text = utils.sanitizeText(serializedContent);
|
||||||
|
Loading…
Reference in New Issue
Block a user