| 1 | import { |
| 2 | BaseFontBackgroundColorPlugin, |
| 3 | BaseFontColorPlugin, |
| 4 | BaseFontFamilyPlugin, |
| 5 | BaseFontSizePlugin, |
| 6 | } from "@platejs/basic-styles"; |
| 7 | import { KEYS, type SlatePluginConfig } from "platejs"; |
| 8 | |
| 9 | const options = { |
| 10 | inject: { targetPlugins: [KEYS.p] }, |
| 11 | } satisfies SlatePluginConfig; |
| 12 | |
| 13 | export const BaseFontKit = [ |
| 14 | BaseFontColorPlugin.configure(options), |
| 15 | BaseFontBackgroundColorPlugin.configure(options), |
| 16 | BaseFontSizePlugin.configure(options), |
| 17 | BaseFontFamilyPlugin.configure(options), |
| 18 | ]; |
| 19 |