Fixed issues with loading comment mark schema in non collaborative contexts and added codeblock support (#7699)

Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
Victor Ilyushchenko
2025-01-17 13:16:52 +03:00
committed by GitHub
parent 7b1fb58529
commit 8f31c6ec61
10 changed files with 129 additions and 68 deletions
@@ -36,6 +36,8 @@ export const codeBlockHighlightOptions: CodeBlockLowlightOptions = {
}
export const CodeBlockHighlighExtension = CodeBlockLowlight.extend<CodeBlockLowlightOptions>({
marks: 'inline-comment',
addCommands () {
return {
setCodeBlock: