@select-org/select-post-builder 1.1.3 → 1.1.4
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/post-builder.cjs.js +1 -2
- package/dist/post-builder.js +1 -2
- package/package.json +1 -1
package/dist/post-builder.cjs.js
CHANGED
|
@@ -20845,8 +20845,7 @@ const useHostAnalyticsBridge = () => {
|
|
|
20845
20845
|
};
|
|
20846
20846
|
const usePersistence = () => {
|
|
20847
20847
|
const saveCurrentTabContent = (editorType, editor) => {
|
|
20848
|
-
if (typeof window === "undefined" || typeof localStorage === "undefined" || !editor
|
|
20849
|
-
return;
|
|
20848
|
+
if (typeof window === "undefined" || typeof localStorage === "undefined" || !editor) return;
|
|
20850
20849
|
const json = editor?.getJSON();
|
|
20851
20850
|
const filteredJson = filterNodes(json, (node) => !node?.attrs?.uploading);
|
|
20852
20851
|
if (filteredJson) {
|
package/dist/post-builder.js
CHANGED
|
@@ -20815,8 +20815,7 @@ const useHostAnalyticsBridge = () => {
|
|
|
20815
20815
|
};
|
|
20816
20816
|
const usePersistence = () => {
|
|
20817
20817
|
const saveCurrentTabContent = (editorType, editor) => {
|
|
20818
|
-
if (typeof window === "undefined" || typeof localStorage === "undefined" || !editor
|
|
20819
|
-
return;
|
|
20818
|
+
if (typeof window === "undefined" || typeof localStorage === "undefined" || !editor) return;
|
|
20820
20819
|
const json = editor?.getJSON();
|
|
20821
20820
|
const filteredJson = filterNodes(json, (node) => !node?.attrs?.uploading);
|
|
20822
20821
|
if (filteredJson) {
|
package/package.json
CHANGED