From f59c2920e6bc4d5e143856bff3c319f44aac3a70 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal Date: Mon, 28 Oct 2024 16:54:48 +0530 Subject: [PATCH] fix: callout content not being saved in description html --- packages/editor/src/core/extensions/callout/extension-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/core/extensions/callout/extension-config.ts b/packages/editor/src/core/extensions/callout/extension-config.ts index 91ee9c684cc..cc6a7caa43c 100644 --- a/packages/editor/src/core/extensions/callout/extension-config.ts +++ b/packages/editor/src/core/extensions/callout/extension-config.ts @@ -63,6 +63,6 @@ export const CustomCalloutExtensionConfig = Node.create({ // Render HTML for the callout node renderHTML({ HTMLAttributes }) { - return ["callout-component", mergeAttributes(HTMLAttributes)]; + return ["callout-component", mergeAttributes(HTMLAttributes), 0]; }, });