Merge branch 'develop' into next

This commit is contained in:
Nick the Sick 2024-11-01 17:00:30 +01:00
commit 8c68da29be
No known key found for this signature in database
GPG Key ID: F575992F156E5BCC

View File

@ -16,9 +16,13 @@ export interface CodeBlockLowlightOptions extends CodeBlockOptions {
export const CodeBlockLowlight = CodeBlock.extend<CodeBlockLowlightOptions>({
addOptions() {
return {
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
...this.parent!(),
...this.parent?.(),
lowlight: {},
languageClassPrefix: 'language-',
exitOnTripleEnter: true,
exitOnArrowDown: true,
defaultLanguage: null,
HTMLAttributes: {},
}
},