refactor: editor code splitting (#6102)
* fix: merge conflicts resolved from preview * fix: space app build errors * fix: product updates modal * fix: build errors * fix: lite text read only editor * refactor: additional options push logic
This commit is contained in:
parent
11bfbe560a
commit
9f14167ef5
37 changed files with 218 additions and 46 deletions
|
|
@ -4,10 +4,14 @@ import { TExtensions } from "@plane/editor";
|
|||
/**
|
||||
* @description extensions disabled in various editors
|
||||
*/
|
||||
export const useEditorFlagging = (): {
|
||||
export const useEditorFlagging = (
|
||||
workspaceSlug: string
|
||||
): {
|
||||
documentEditor: TExtensions[];
|
||||
liteTextEditor: TExtensions[];
|
||||
richTextEditor: TExtensions[];
|
||||
} => ({
|
||||
documentEditor: ["ai", "collaboration-cursor"],
|
||||
liteTextEditor: ["ai", "collaboration-cursor"],
|
||||
richTextEditor: ["ai", "collaboration-cursor"],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue