| 1 | import { |
| 2 | BaseBoldPlugin, |
| 3 | BaseCodePlugin, |
| 4 | BaseHighlightPlugin, |
| 5 | BaseItalicPlugin, |
| 6 | BaseKbdPlugin, |
| 7 | BaseStrikethroughPlugin, |
| 8 | BaseSubscriptPlugin, |
| 9 | BaseSuperscriptPlugin, |
| 10 | BaseUnderlinePlugin, |
| 11 | } from "@platejs/basic-nodes"; |
| 12 | |
| 13 | import { CodeLeafStatic } from "@/components/plate/ui/code-node-static"; |
| 14 | import { HighlightLeafStatic } from "@/components/plate/ui/highlight-node-static"; |
| 15 | import { KbdLeafStatic } from "@/components/plate/ui/kbd-node-static"; |
| 16 | |
| 17 | export const BaseBasicMarksKit = [ |
| 18 | BaseBoldPlugin, |
| 19 | BaseItalicPlugin, |
| 20 | BaseUnderlinePlugin, |
| 21 | BaseCodePlugin.withComponent(CodeLeafStatic), |
| 22 | BaseStrikethroughPlugin, |
| 23 | BaseSubscriptPlugin, |
| 24 | BaseSuperscriptPlugin, |
| 25 | BaseHighlightPlugin.withComponent(HighlightLeafStatic), |
| 26 | BaseKbdPlugin.withComponent(KbdLeafStatic), |
| 27 | ]; |
| 28 |