asdasd
This commit is contained in:
@@ -749,6 +749,21 @@
|
||||
}
|
||||
} catch {}
|
||||
}, 120);
|
||||
if (this.B && this.B.DEBUG_RTE) {
|
||||
try {
|
||||
const gjsHtml = editor && typeof editor.getHtml === 'function' ? editor.getHtml() : '';
|
||||
const serHtml = BridgeRTE.serializeHtml(editor);
|
||||
console.group('[RTE DEBUG] save snapshot');
|
||||
console.log('component id', component && (component.getId ? component.getId() : component.get && component.get('id')));
|
||||
console.log('model content', component && component.get ? component.get('content') : '');
|
||||
console.log('view html', component?.view?.el?.innerHTML || '');
|
||||
console.log('editor.getHtml len', String(gjsHtml || '').length);
|
||||
console.log('serializeHtml len', String(serHtml || '').length);
|
||||
console.log('editor.getHtml', gjsHtml);
|
||||
console.log('serializeHtml', serHtml);
|
||||
console.groupEnd();
|
||||
} catch {}
|
||||
}
|
||||
closeModal();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user