@orion-studios/payload-studio 0.6.0-beta.124 → 0.6.0-beta.125

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.
@@ -2973,6 +2973,10 @@ function GrapesPageEditor({
2973
2973
  width: "auto"
2974
2974
  });
2975
2975
  editorRef.current = editor;
2976
+ if (typeof window !== "undefined" && window.location.hostname === "localhost") {
2977
+ ;
2978
+ window.__orionBuilderV2Editor = editor;
2979
+ }
2976
2980
  const hasProjectBlocks = Object.keys(adapter?.components || {}).length > 0;
2977
2981
  if (!hasProjectBlocks) {
2978
2982
  registerOrionBuilderV2Blocks(editor);
@@ -2849,6 +2849,10 @@ function GrapesPageEditor({
2849
2849
  width: "auto"
2850
2850
  });
2851
2851
  editorRef.current = editor;
2852
+ if (typeof window !== "undefined" && window.location.hostname === "localhost") {
2853
+ ;
2854
+ window.__orionBuilderV2Editor = editor;
2855
+ }
2852
2856
  const hasProjectBlocks = Object.keys(adapter?.components || {}).length > 0;
2853
2857
  if (!hasProjectBlocks) {
2854
2858
  registerOrionBuilderV2Blocks(editor);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orion-studios/payload-studio",
3
- "version": "0.6.0-beta.124",
3
+ "version": "0.6.0-beta.125",
4
4
  "description": "Base CMS, builder, and custom admin toolkit for Orion Studios websites",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",