You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
Desktop,Mobile: Fixes #12573: Markdown editor: Make list indentation size equivalent to four spaces (#12794)
This commit is contained in:
7
packages/editor/CodeMirror/theme.ts
vendored
7
packages/editor/CodeMirror/theme.ts
vendored
@@ -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.
|
||||
|
Reference in New Issue
Block a user