mirror of
https://github.com/docmost/docmost.git
synced 2025-11-14 12:31:19 +10:00
Fix: editor formatting (#137)
* reduce space between list items * reduce spacing * Make inline code readable in dark mode * Disable spellcheck in code * fix numbered list in toggle block
This commit is contained in:
@ -56,6 +56,11 @@ export const mainExtensions = [
|
||||
color: "#70CFF8",
|
||||
},
|
||||
codeBlock: false,
|
||||
code: {
|
||||
HTMLAttributes: {
|
||||
spellcheck: false,
|
||||
},
|
||||
},
|
||||
}),
|
||||
Placeholder.configure({
|
||||
placeholder: ({ node }) => {
|
||||
@ -131,6 +136,9 @@ export const mainExtensions = [
|
||||
}),
|
||||
CodeBlockLowlight.configure({
|
||||
lowlight,
|
||||
HTMLAttributes: {
|
||||
spellcheck: false,
|
||||
},
|
||||
}),
|
||||
Selection,
|
||||
] as any;
|
||||
|
||||
Reference in New Issue
Block a user