You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
Desktop: Fixes #12341: Markdown editor: Prevent selection from extending far outside the editor boundaries (#12746)
This commit is contained in:
3
packages/editor/CodeMirror/theme.ts
vendored
3
packages/editor/CodeMirror/theme.ts
vendored
@@ -188,8 +188,7 @@ const createTheme = (theme: EditorTheme): Extension[] => {
|
||||
'& .cm-tableHeader, & .cm-tableRow, & .cm-tableDelimiter': monospaceStyle,
|
||||
'& .cm-taskMarker': monospaceStyle,
|
||||
|
||||
// Apply maximum width styles to individual lines.
|
||||
'& .cm-line': theme.contentMaxWidth ? {
|
||||
'&.cm-editor .cm-content': theme.contentMaxWidth ? {
|
||||
maxWidth: theme.contentMaxWidth,
|
||||
|
||||
// Center
|
||||
|
Reference in New Issue
Block a user