From 140da342bd9f2c2156e73f40e42ef559cff79699 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Wed, 4 Feb 2026 00:32:25 +0100 Subject: [PATCH] sad --- config/current.ver | 2 +- public/assets/js/ui-editor.js | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) 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',