From 6c761b3fb4f3ca20037eaf1f92c527b573feddda Mon Sep 17 00:00:00 2001 From: Henry Heino <46334387+personalizedrefrigerator@users.noreply.github.com> Date: Fri, 25 Jul 2025 11:18:14 -0700 Subject: [PATCH] Desktop,Mobile: Fixes #12573: Markdown editor: Make list indentation size equivalent to four spaces (#12794) --- packages/editor/CodeMirror/theme.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/editor/CodeMirror/theme.ts b/packages/editor/CodeMirror/theme.ts index edd959116b..284b59a1b3 100644 --- a/packages/editor/CodeMirror/theme.ts +++ b/packages/editor/CodeMirror/theme.ts @@ -107,13 +107,6 @@ const createTheme = (theme: EditorTheme): Extension[] => { marginRight: `${theme.marginRight}px`, }, - '& .cm-listItem': { - // Needs to be !important because the tab-size is directly set on the element style - // attribute by CodeMirror. And the `EditorState.tabSize` function only accepts a - // number, while we need a "em" value to make it match the viewer tab size. - tabSize: `${theme.listTabSize} !important`, - }, - '&.cm-focused .cm-cursor': baseCursorStyle, // The desktop app sets the font for these elements to a specific font.