@orion-studios/payload-studio 0.6.0-beta.150 → 0.6.0-beta.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1165,10 +1165,12 @@ var registerProjectDynamicComponents = (editor, adapter) => {
|
|
|
1165
1165
|
this.model.addAttributes?.({ "data-orion-background-color": backgroundColor });
|
|
1166
1166
|
}
|
|
1167
1167
|
this.model.components(previewForDefinition(definition, props));
|
|
1168
|
-
hoistPreviewSpacingToModel(this);
|
|
1169
1168
|
lockPreviewChildren(this.model);
|
|
1170
1169
|
});
|
|
1171
|
-
queueMicrotask(() =>
|
|
1170
|
+
queueMicrotask(() => {
|
|
1171
|
+
hoistPreviewSpacingToModel(this);
|
|
1172
|
+
bindEditablePreview(this, editor);
|
|
1173
|
+
});
|
|
1172
1174
|
refreshProjectPreviewLayout(editor);
|
|
1173
1175
|
}
|
|
1174
1176
|
}
|
|
@@ -1041,10 +1041,12 @@ var registerProjectDynamicComponents = (editor, adapter) => {
|
|
|
1041
1041
|
this.model.addAttributes?.({ "data-orion-background-color": backgroundColor });
|
|
1042
1042
|
}
|
|
1043
1043
|
this.model.components(previewForDefinition(definition, props));
|
|
1044
|
-
hoistPreviewSpacingToModel(this);
|
|
1045
1044
|
lockPreviewChildren(this.model);
|
|
1046
1045
|
});
|
|
1047
|
-
queueMicrotask(() =>
|
|
1046
|
+
queueMicrotask(() => {
|
|
1047
|
+
hoistPreviewSpacingToModel(this);
|
|
1048
|
+
bindEditablePreview(this, editor);
|
|
1049
|
+
});
|
|
1048
1050
|
refreshProjectPreviewLayout(editor);
|
|
1049
1051
|
}
|
|
1050
1052
|
}
|
package/package.json
CHANGED