[PULSE-36] feat: callout component for pages and issue descriptions (#5856)

* feat: editor callouts

* chore: backspace action updated

* chore: update callout attributes types

* chore: revert emoji picker changes

* chore: removed class atrribute

* chore: added sanitization for local storage values

* chore: disable emoji picker search
This commit is contained in:
Aaryan Khandelwal 2024-10-24 15:36:38 +05:30 committed by GitHub
parent 9fb353ef54
commit 14b31e3fcd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 1592 additions and 1012 deletions

View file

@ -13,9 +13,9 @@ import {
ListOrdered,
ListTodo,
LucideIcon,
Quote,
Strikethrough,
Table,
TextQuote,
Underline,
} from "lucide-react";
// editor
@ -75,7 +75,7 @@ export const LIST_ITEMS: ToolbarMenuItem[] = [
];
export const USER_ACTION_ITEMS: ToolbarMenuItem[] = [
{ key: "quote", name: "Quote", icon: Quote, editors: ["lite", "document"] },
{ key: "quote", name: "Quote", icon: TextQuote, editors: ["lite", "document"] },
{ key: "code", name: "Code", icon: Code2, editors: ["lite", "document"] },
];