mirror of
https://github.com/docmost/docmost.git
synced 2026-05-20 00:14:10 +08:00
disable duplicate extensions
This commit is contained in:
@@ -42,6 +42,8 @@ import { Node } from '@tiptap/pm/model';
|
|||||||
export const tiptapExtensions = [
|
export const tiptapExtensions = [
|
||||||
StarterKit.configure({
|
StarterKit.configure({
|
||||||
codeBlock: false,
|
codeBlock: false,
|
||||||
|
link: false,
|
||||||
|
trailingNode: false,
|
||||||
}),
|
}),
|
||||||
Comment,
|
Comment,
|
||||||
TextAlign.configure({ types: ['heading', 'paragraph'] }),
|
TextAlign.configure({ types: ['heading', 'paragraph'] }),
|
||||||
|
|||||||
Reference in New Issue
Block a user