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