diff --git a/packages/views/editor/extensions/index.ts b/packages/views/editor/extensions/index.ts index e8c1f025d..cc82594e3 100644 --- a/packages/views/editor/extensions/index.ts +++ b/packages/views/editor/extensions/index.ts @@ -119,7 +119,8 @@ export function createEditorExtensions( TableCell, BlockMathExtension, InlineMathExtension, - Markdown, + // 3-space indent so nested ordered lists survive CommonMark in ReadonlyContent. + Markdown.configure({ indentation: { style: "space", size: 3 } }), FileCardExtension, BaseMentionExtension.configure({ HTMLAttributes: { class: "mention" },