@orion-studios/payload-studio 0.6.0-beta.116 → 0.6.0-beta.118
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.
|
@@ -2833,7 +2833,10 @@ function GrapesPageEditor({
|
|
|
2833
2833
|
width: "auto"
|
|
2834
2834
|
});
|
|
2835
2835
|
editorRef.current = editor;
|
|
2836
|
-
|
|
2836
|
+
const hasProjectBlocks = Object.keys(adapter?.components || {}).length > 0;
|
|
2837
|
+
if (!hasProjectBlocks) {
|
|
2838
|
+
registerOrionBuilderV2Blocks(editor);
|
|
2839
|
+
}
|
|
2837
2840
|
registerProjectDynamicComponents(editor, adapter);
|
|
2838
2841
|
editor.loadProjectData(projectData);
|
|
2839
2842
|
void loadPayloadMediaAssets(editor);
|
|
@@ -2709,7 +2709,10 @@ function GrapesPageEditor({
|
|
|
2709
2709
|
width: "auto"
|
|
2710
2710
|
});
|
|
2711
2711
|
editorRef.current = editor;
|
|
2712
|
-
|
|
2712
|
+
const hasProjectBlocks = Object.keys(adapter?.components || {}).length > 0;
|
|
2713
|
+
if (!hasProjectBlocks) {
|
|
2714
|
+
registerOrionBuilderV2Blocks(editor);
|
|
2715
|
+
}
|
|
2713
2716
|
registerProjectDynamicComponents(editor, adapter);
|
|
2714
2717
|
editor.loadProjectData(projectData);
|
|
2715
2718
|
void loadPayloadMediaAssets(editor);
|
|
@@ -1376,8 +1376,8 @@
|
|
|
1376
1376
|
}
|
|
1377
1377
|
|
|
1378
1378
|
.orion-builder-v2-editor .gjs-field.has-orion-builder-stepper .gjs-input-unit {
|
|
1379
|
-
padding-left:
|
|
1380
|
-
padding-right:
|
|
1379
|
+
padding-left: 8px;
|
|
1380
|
+
padding-right: 18px;
|
|
1381
1381
|
}
|
|
1382
1382
|
|
|
1383
1383
|
.orion-builder-v2-stepper {
|
package/package.json
CHANGED