ToS Editor

This commit is contained in:
2025-07-06 17:27:06 +02:00
parent af4c0dcdac
commit fe66ab76b2
21 changed files with 2702 additions and 38 deletions

View File

@ -0,0 +1,13 @@
import { MarkdownPlugin, remarkMdx, remarkMention } from '@platejs/markdown';
import { KEYS } from 'platejs';
import remarkGfm from 'remark-gfm';
import remarkMath from 'remark-math';
export const MarkdownKit = [
MarkdownPlugin.configure({
options: {
disallowedNodes: [KEYS.suggestion],
remarkPlugins: [remarkMath, remarkGfm, remarkMdx, remarkMention],
},
}),
];