sdasd
This commit is contained in:
@@ -765,6 +765,16 @@
|
|||||||
const selectedEl = selected && selected.view && selected.view.el;
|
const selectedEl = selected && selected.view && selected.view.el;
|
||||||
if (selected && selectedEl && (selectedEl === target || selectedEl.contains(target))) {
|
if (selected && selectedEl && (selectedEl === target || selectedEl.contains(target))) {
|
||||||
const html = String(target.innerHTML || '').trim();
|
const html = String(target.innerHTML || '').trim();
|
||||||
|
try {
|
||||||
|
const content = selected && selected.get ? selected.get('content') : '';
|
||||||
|
console.warn('[RTE BLUR DEBUG]', {
|
||||||
|
tag: target.tagName,
|
||||||
|
htmlLen: html.length,
|
||||||
|
contentLen: String(content || '').length,
|
||||||
|
modelType: selected && selected.get ? selected.get('type') : undefined,
|
||||||
|
modelId: selected && (selected.getId ? selected.getId() : selected.get && selected.get('id')),
|
||||||
|
});
|
||||||
|
} catch {}
|
||||||
if (html) {
|
if (html) {
|
||||||
try {
|
try {
|
||||||
if (selected.components) {
|
if (selected.components) {
|
||||||
|
|||||||
Reference in New Issue
Block a user