[WEB-2494] feat: text color and highlight options for all editors (#5653)

* feat: add text color and highlight options to pages

* style: rich text editor floating toolbar

* chore: remove unused function

* refactor: slash command components

* chore: move default text and background options to the top

* fix: sections filtering logic
This commit is contained in:
Aaryan Khandelwal 2024-10-08 18:42:47 +05:30 committed by GitHub
parent 5afc576dec
commit c3c1ea727d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 1166 additions and 542 deletions

View file

@ -1,6 +1,6 @@
import { HocuspocusProvider } from "@hocuspocus/provider";
import { Extensions } from "@tiptap/core";
import { SlashCommand } from "@/extensions";
import { SlashCommands } from "@/extensions";
// plane editor types
import { TIssueEmbedConfig } from "@/plane-editor/types";
// types
@ -14,7 +14,7 @@ type Props = {
};
export const DocumentEditorAdditionalExtensions = (_props: Props) => {
const extensions: Extensions = [SlashCommand()];
const extensions: Extensions = [SlashCommands()];
return extensions;
};