fix: callout content not being saved in description html (#5920)

This commit is contained in:
Aaryan Khandelwal
2024-10-28 17:00:32 +05:30
committed by GitHub
parent 6113aefde0
commit f986bd83fd
@@ -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];
},
});