asd
This commit is contained in:
@@ -432,13 +432,16 @@
|
||||
});
|
||||
if (label === 'DESELECT' && model && model.get && model.get('type') === 'text') {
|
||||
const viewHtml = selectedEl ? String(selectedEl.innerHTML || '') : '';
|
||||
console.warn('[EDIT SUMMARY]', {
|
||||
const summary = {
|
||||
source: 'ui',
|
||||
modelId: model && (model.getId ? model.getId() : model.get && model.get('id')),
|
||||
modelContentLen: modelContent.length,
|
||||
expectedFromView: viewHtml.slice(0, 500),
|
||||
actualModelContent: modelContent.slice(0, 500),
|
||||
viewHtmlLen: viewHtml.length,
|
||||
modelContentLen: modelContent.length,
|
||||
editorHtmlLen: editorHtml.length,
|
||||
});
|
||||
};
|
||||
console.warn('[EDIT SUMMARY]', JSON.stringify(summary));
|
||||
}
|
||||
} catch {}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user