diff --git a/config/current.ver b/config/current.ver index 7a5b0e5..2aa6561 100644 --- a/config/current.ver +++ b/config/current.ver @@ -1 +1 @@ -1.2.33 \ No newline at end of file +1.2.35 \ No newline at end of file diff --git a/public/assets/js/ui-editor.js b/public/assets/js/ui-editor.js index a567a57..dc19ff4 100644 --- a/public/assets/js/ui-editor.js +++ b/public/assets/js/ui-editor.js @@ -336,6 +336,17 @@ export function initEditor() { }, 800); }; const onUpdate = (reason, model) => { + if (reason === 'style:property:update') { + const isComponentModel = !!(model && (typeof model.getId === 'function' || (model.attributes && (model.attributes.tagName || model.attributes.type)))); + if (!isComponentModel) { + debugUiLog({ + event: 'dirty:skip', + reason, + note: 'style:update-non-component', + }); + return; + } + } if (reason === 'style:property:update' && !model) { debugUiLog({ event: 'dirty:skip',