From 44ce377c380d6852cfe0c82dcffe3f76ee562ae9 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 23 Oct 2022 13:58:47 -0400 Subject: [PATCH] fix #4183 --- shared/editor/nodes/Attachment.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shared/editor/nodes/Attachment.tsx b/shared/editor/nodes/Attachment.tsx index a6df3a5e5..1c526e65c 100644 --- a/shared/editor/nodes/Attachment.tsx +++ b/shared/editor/nodes/Attachment.tsx @@ -32,7 +32,9 @@ export default class Attachment extends Node { default: null, }, title: {}, - size: {}, + size: { + default: 0, + }, }, group: "block", defining: true,