mirror of
https://github.com/makeplane/plane.git
synced 2025-12-22 06:39:31 +01:00
21 lines
384 B
TypeScript
21 lines
384 B
TypeScript
|
|
// editor
|
||
|
|
import { TExtensions } from "@plane/editor";
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @description extensions disabled in various editors
|
||
|
|
* @returns
|
||
|
|
* ```ts
|
||
|
|
* {
|
||
|
|
* documentEditor: TExtensions[]
|
||
|
|
* richTextEditor: TExtensions[]
|
||
|
|
* }
|
||
|
|
* ```
|
||
|
|
*/
|
||
|
|
export const useEditorFlagging = (): {
|
||
|
|
documentEditor: TExtensions[];
|
||
|
|
richTextEditor: TExtensions[];
|
||
|
|
} => ({
|
||
|
|
documentEditor: [],
|
||
|
|
richTextEditor: [],
|
||
|
|
});
|