| 1 | import { BaseIndentPlugin } from "@platejs/indent"; |
| 2 | import { KEYS } from "platejs"; |
| 3 | |
| 4 | export const BaseIndentKit = [ |
| 5 | BaseIndentPlugin.configure({ |
| 6 | inject: { |
| 7 | targetPlugins: [ |
| 8 | ...KEYS.heading, |
| 9 | KEYS.p, |
| 10 | KEYS.blockquote, |
| 11 | KEYS.codeBlock, |
| 12 | KEYS.toggle, |
| 13 | ], |
| 14 | }, |
| 15 | options: { |
| 16 | offset: 24, |
| 17 | }, |
| 18 | }), |
| 19 | ]; |
| 20 |