mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-28 02:23:53 +02:00
20 lines
330 B
TypeScript
20 lines
330 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,
|
||
|
|
],
|
||
|
|
},
|
||
|
|
}),
|
||
|
|
];
|
||
|
|
|