eddev 2.3.2 → 2.3.3
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.
|
@@ -143,12 +143,12 @@ export function BlockDebug(props) {
|
|
|
143
143
|
const node = usePageStructureNode({
|
|
144
144
|
type: "block",
|
|
145
145
|
id: "unknown",
|
|
146
|
-
block: ref(props.block),
|
|
146
|
+
block: ref(props.block ?? {}),
|
|
147
147
|
context: blockContext ? ref(blockContext) : undefined,
|
|
148
148
|
children: [],
|
|
149
149
|
});
|
|
150
150
|
node.id = blockContext?.instanceId ?? "unknown";
|
|
151
|
-
node.block = ref(props.block);
|
|
151
|
+
node.block = ref(props.block ?? {});
|
|
152
152
|
node.context = blockContext ? ref(blockContext) : undefined;
|
|
153
153
|
useEffect(() => {
|
|
154
154
|
node.getElements = createGetElements(fiber);
|
|
@@ -285,7 +285,7 @@ export function installEDGutenbergHooks() {
|
|
|
285
285
|
if (!existing || existing.key !== data.__key) {
|
|
286
286
|
const payload = JSON.parse(data);
|
|
287
287
|
BlockPropsStore.set(payload.__clientId, {
|
|
288
|
-
payload: ref(payload),
|
|
288
|
+
payload: payload ? ref(payload) : null,
|
|
289
289
|
key: key,
|
|
290
290
|
});
|
|
291
291
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.3.
|
|
1
|
+
export declare const VERSION = "2.3.3";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/node/cli/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "2.3.
|
|
1
|
+
export const VERSION = "2.3.3";
|