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:
Philip Okugbe
2024-08-04 10:06:22 +02:00
committed by GitHub
parent 4967849e3a
commit e0d74fcb0e
5 changed files with 40 additions and 12 deletions

View File

@ -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;