Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

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

Aaryan Khandelwalf986bd83fd08
diff --git a/packages/editor/src/core/extensions/callout/extension-config.ts b/packages/editor/src/core/extensions/callout/extension-config.ts
index 91ee9c684c..cc6a7caa43 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];
},
});