@accelerated-agency/visual-editor 0.5.6 → 0.5.8
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.
- package/dist/index.js +3 -1
- package/dist/vite.cjs +540 -60
- package/dist/vite.js +540 -61
- package/package.json +7 -2
package/dist/index.js
CHANGED
|
@@ -4879,9 +4879,11 @@ function PlatformVisualEditorV2({
|
|
|
4879
4879
|
[conversionProxyBaseUrl, experiment, strictObserverFreeze, trackingMarkers]
|
|
4880
4880
|
);
|
|
4881
4881
|
const editorSrc = useMemo(() => {
|
|
4882
|
+
const workerBase = normalizeProxyBaseUrl(conversionProxyBaseUrl);
|
|
4883
|
+
if (workerBase) return `${workerBase}/vvveb-editor`;
|
|
4882
4884
|
const safeBaseUrl = normalizeProxyBaseUrl(proxyBaseUrl);
|
|
4883
4885
|
return safeBaseUrl ? `${safeBaseUrl}/vvveb-editor` : "/vvveb-editor";
|
|
4884
|
-
}, [proxyBaseUrl]);
|
|
4886
|
+
}, [conversionProxyBaseUrl, proxyBaseUrl]);
|
|
4885
4887
|
useEffect(() => {
|
|
4886
4888
|
if (!editorReady) return;
|
|
4887
4889
|
const key = JSON.stringify(loadPayload);
|