This commit is contained in:
benweet 2017-11-20 22:01:30 +00:00
parent f950229708
commit 0f9f6b6034

View File

@ -26,7 +26,7 @@ export default {
}
return result;
},
parseContent(serializedContent, syncLocation) {
parseContent(serializedContent, syncLocation = {}) {
const result = utils.deepCopy(store.state.content.itemMap[`${syncLocation.fileId}/content`])
|| emptyContent();
result.text = utils.sanitizeText(serializedContent);