Scheduling infrastructure for absolutely everyone.
fix: Italics not being shown in the description after saving (#10848)
Abhijeet Singh3e63c2b717a9
diff --git a/packages/lib/turndownService.ts b/packages/lib/turndownService.tsindex 47e1854db54..f80bea7618d 100644--- a/packages/lib/turndownService.ts+++ b/packages/lib/turndownService.ts@@ -31,6 +31,13 @@ turndownService.addRule("enter", {},});+turndownService.addRule("ignoreEmphasized", {+ filter: "em",+ replacement: function (content) {+ return content;+ },+});+function isShiftEnter(node: HTMLElement) {let currentNode: HTMLElement | null | ParentNode = node;