sad
This commit is contained in:
@@ -1 +1 @@
|
|||||||
1.2.33
|
1.2.35
|
||||||
@@ -336,6 +336,17 @@ export function initEditor() {
|
|||||||
}, 800);
|
}, 800);
|
||||||
};
|
};
|
||||||
const onUpdate = (reason, model) => {
|
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) {
|
if (reason === 'style:property:update' && !model) {
|
||||||
debugUiLog({
|
debugUiLog({
|
||||||
event: 'dirty:skip',
|
event: 'dirty:skip',
|
||||||
|
|||||||
Reference in New Issue
Block a user