Files
admin.gaertan.art/src/components/editor/plugins/indent-kit.tsx
2025-07-06 17:27:06 +02:00

22 lines
369 B
TypeScript

'use client';
import { IndentPlugin } from '@platejs/indent/react';
import { KEYS } from 'platejs';
export const IndentKit = [
IndentPlugin.configure({
inject: {
targetPlugins: [
...KEYS.heading,
KEYS.p,
KEYS.blockquote,
KEYS.codeBlock,
KEYS.toggle,
],
},
options: {
offset: 24,
},
}),
];