chore: add missing headings to the rich text editor (#5135)
This commit is contained in:
parent
8771c80c9b
commit
2ee6cd20d8
10 changed files with 227 additions and 187 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import React, { useEffect, useState, useCallback } from "react";
|
||||
// editor
|
||||
import { EditorMenuItemNames, EditorRefApi } from "@plane/editor";
|
||||
import { EditorRefApi, TEditorCommands } from "@plane/editor";
|
||||
// ui
|
||||
import { Button, Tooltip } from "@plane/ui";
|
||||
// constants
|
||||
|
|
@ -11,7 +11,7 @@ import { TOOLBAR_ITEMS } from "@/constants/editor";
|
|||
import { cn } from "@/helpers/common.helper";
|
||||
|
||||
type Props = {
|
||||
executeCommand: (commandName: EditorMenuItemNames) => void;
|
||||
executeCommand: (commandKey: TEditorCommands) => void;
|
||||
handleSubmit: () => void;
|
||||
isCommentEmpty: boolean;
|
||||
isSubmitting: boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue