ct-rich-text-editor 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/dist/assets/babel-70ddf1b3.js +16 -0
  2. package/dist/assets/babel-70ddf1b3.js.map +1 -0
  3. package/dist/assets/chevron-down-7ab1bec2.svg +1 -0
  4. package/dist/assets/close-5a175ff6.svg +1 -0
  5. package/dist/assets/code-211c00f3.svg +1 -0
  6. package/dist/assets/copy-0a348586.svg +1 -0
  7. package/dist/assets/estree-e637acda.js +37 -0
  8. package/dist/assets/estree-e637acda.js.map +1 -0
  9. package/dist/assets/html-132cf17b.js +23 -0
  10. package/dist/assets/html-132cf17b.js.map +1 -0
  11. package/dist/assets/index-92719fbf.js +2 -0
  12. package/dist/assets/index-92719fbf.js.map +1 -0
  13. package/dist/assets/index-a2d0e228.js +443 -0
  14. package/dist/assets/index-a2d0e228.js.map +1 -0
  15. package/dist/assets/index-db471160.css +1 -0
  16. package/dist/assets/link-dabc7da5.svg +1 -0
  17. package/dist/assets/markdown-d8306e54.js +64 -0
  18. package/dist/assets/markdown-d8306e54.js.map +1 -0
  19. package/dist/assets/pencil-fill-633b2c8d.svg +1 -0
  20. package/dist/assets/plus-cc33d039.svg +1 -0
  21. package/dist/assets/postcss-25dc98df.js +55 -0
  22. package/dist/assets/postcss-25dc98df.js.map +1 -0
  23. package/dist/assets/prettier-6c905155.svg +1 -0
  24. package/dist/assets/prettier-error-0ed0d492.svg +1 -0
  25. package/dist/assets/standalone-e79c0887.js +40 -0
  26. package/dist/assets/standalone-e79c0887.js.map +1 -0
  27. package/dist/assets/success-e7e6caa5.svg +1 -0
  28. package/dist/assets/trash-e93c6b1b.svg +1 -0
  29. package/dist/assets/type-bold-1f17e5da.svg +1 -0
  30. package/dist/assets/type-capitalize-2bd9e890.svg +1 -0
  31. package/dist/assets/type-italic-f9cdcec5.svg +1 -0
  32. package/dist/assets/type-lowercase-e9b820a3.svg +3 -0
  33. package/dist/assets/type-strikethrough-ea22e2f6.svg +1 -0
  34. package/dist/assets/type-subscript-84ecc6bb.svg +1 -0
  35. package/dist/assets/type-superscript-fd5795bc.svg +1 -0
  36. package/dist/assets/type-underline-9639e1cd.svg +1 -0
  37. package/dist/assets/type-uppercase-cd9fe147.svg +3 -0
  38. package/dist/assets/typescript-c6c5f850.js +21 -0
  39. package/dist/assets/typescript-c6c5f850.js.map +1 -0
  40. package/dist/assets/user-085d4653.svg +1 -0
  41. package/dist/index.html +18 -0
  42. package/package.json +5 -3
  43. package/dist/App.d.ts +0 -4
  44. package/dist/Provider/EditorProvider.d.ts +0 -19
  45. package/dist/Provider/LexicalProvider.d.ts +0 -7
  46. package/dist/api/ai/index.d.ts +0 -15
  47. package/dist/api/auth.d.ts +0 -99
  48. package/dist/api/config/axios.d.ts +0 -3
  49. package/dist/api/config/endpoints.d.ts +0 -11
  50. package/dist/assets/style.css +0 -1
  51. package/dist/babel-1c4a328b.js +0 -7479
  52. package/dist/babel-1c4a328b.js.map +0 -1
  53. package/dist/components/AiPlugin/index.d.ts +0 -4
  54. package/dist/components/AlignMenu/AlignMenu.d.ts +0 -10
  55. package/dist/components/AlignMenu/index.d.ts +0 -1
  56. package/dist/components/BlockFormatMenu/BlockFormatMenu.d.ts +0 -5
  57. package/dist/components/BlockFormatMenu/constants.d.ts +0 -14
  58. package/dist/components/BlockFormatMenu/index.d.ts +0 -1
  59. package/dist/components/CodeActionMenuPlugin/components/CopyButton/index.d.ts +0 -8
  60. package/dist/components/CodeActionMenuPlugin/components/PrettierButton/index.d.ts +0 -10
  61. package/dist/components/CodeActionMenuPlugin/index.d.ts +0 -5
  62. package/dist/components/CodeActionMenuPlugin/utils.d.ts +0 -1
  63. package/dist/components/ColorPicker/ColorPicker.d.ts +0 -5
  64. package/dist/components/ColorPicker/index.d.ts +0 -1
  65. package/dist/components/ConfigurableEditorWithAuth.d.ts +0 -15
  66. package/dist/components/EmojiPickerWidget/EmojiPickerWidget.d.ts +0 -5
  67. package/dist/components/EmojiPickerWidget/index.d.ts +0 -1
  68. package/dist/components/FileUpload/InsertFileDialog.d.ts +0 -7
  69. package/dist/components/FileUpload/InsertFileUploadedDialogBody.d.ts +0 -6
  70. package/dist/components/FontFamilySelect/FontFamilyMenu.d.ts +0 -9
  71. package/dist/components/FontSizePicker/FontSizeControl.d.ts +0 -4
  72. package/dist/components/FormatTextMenu/FormatTextMenu.d.ts +0 -5
  73. package/dist/components/FormatTextMenu/index.d.ts +0 -1
  74. package/dist/components/ImageView/ImageDialog/ImageUploadDialogBody.d.ts +0 -6
  75. package/dist/components/ImageView/ImageDialog/index.d.ts +0 -7
  76. package/dist/components/ImageView/ImageResizer.d.ts +0 -17
  77. package/dist/components/ImageView/index.d.ts +0 -15
  78. package/dist/components/InsertMenu/InsertMenu.d.ts +0 -10
  79. package/dist/components/InsertMenu/index.d.ts +0 -1
  80. package/dist/components/Placeholder/Placeholder.d.ts +0 -5
  81. package/dist/components/Placeholder/index.d.ts +0 -1
  82. package/dist/components/Placeholder/styles.d.ts +0 -1
  83. package/dist/components/TableColorPicker/index.d.ts +0 -9
  84. package/dist/components/TableModal/TableModal.d.ts +0 -11
  85. package/dist/components/Toolbar/Toolbar.d.ts +0 -5
  86. package/dist/components/Toolbar/index.d.ts +0 -1
  87. package/dist/components/Toolbar/styles.d.ts +0 -6
  88. package/dist/components/ui/button.d.ts +0 -12
  89. package/dist/components/ui/dialog.d.ts +0 -19
  90. package/dist/components/ui/dropdown-menu.d.ts +0 -27
  91. package/dist/components/ui/input.d.ts +0 -3
  92. package/dist/components/ui/label.d.ts +0 -5
  93. package/dist/components/ui/popover.d.ts +0 -7
  94. package/dist/components/ui/select.d.ts +0 -13
  95. package/dist/components/ui/separator.d.ts +0 -4
  96. package/dist/components/ui/tooltip.d.ts +0 -7
  97. package/dist/constants.d.ts +0 -35
  98. package/dist/context/ToolbarContext.d.ts +0 -55
  99. package/dist/editorConfig.d.ts +0 -36
  100. package/dist/estree-2cbea43c.js +0 -4668
  101. package/dist/estree-2cbea43c.js.map +0 -1
  102. package/dist/hooks/useBlockFormat.d.ts +0 -22
  103. package/dist/hooks/useColorPicker.d.ts +0 -5
  104. package/dist/hooks/useCustomCommands.d.ts +0 -4
  105. package/dist/hooks/useDebounce.d.ts +0 -1
  106. package/dist/hooks/useEditorToolbar.d.ts +0 -11
  107. package/dist/hooks/useInsertMenu.d.ts +0 -9
  108. package/dist/hooks/useModal.d.ts +0 -5
  109. package/dist/hooks/useS3Uploader.d.ts +0 -11
  110. package/dist/html-c18fb60e.js +0 -2842
  111. package/dist/html-c18fb60e.js.map +0 -1
  112. package/dist/index-7bdb5524.js +0 -633
  113. package/dist/index-7bdb5524.js.map +0 -1
  114. package/dist/index-a3d31a7f.js +0 -31767
  115. package/dist/index-a3d31a7f.js.map +0 -1
  116. package/dist/index.d.ts +0 -6
  117. package/dist/index.js +0 -22
  118. package/dist/index.js.map +0 -1
  119. package/dist/lib/utils.d.ts +0 -3
  120. package/dist/main.d.ts +0 -1
  121. package/dist/markdown-39c3822b.js +0 -3548
  122. package/dist/markdown-39c3822b.js.map +0 -1
  123. package/dist/nodes/EmbedNode.d.ts +0 -27
  124. package/dist/nodes/ImageNode.d.ts +0 -48
  125. package/dist/nodes/MentionNode.d.ts +0 -76
  126. package/dist/pages/ConfigurableEditor/ConfigurableEditor.d.ts +0 -14
  127. package/dist/pages/ConfigurableEditor/index.d.ts +0 -2
  128. package/dist/pages/NotFound.d.ts +0 -2
  129. package/dist/pages/RichTextEditor.d.ts +0 -6
  130. package/dist/pages/TextareaEditor.d.ts +0 -6
  131. package/dist/pages/styles.d.ts +0 -5
  132. package/dist/plugins/AIChatPlugin.d.ts +0 -6
  133. package/dist/plugins/CodeHighlightPlugin.d.ts +0 -4
  134. package/dist/plugins/DragDropPastePlugin/index.d.ts +0 -8
  135. package/dist/plugins/EmbedPreviewPlugin/FloatingEmbedMenuPlugin.d.ts +0 -4
  136. package/dist/plugins/EmbedPreviewPlugin/index.d.ts +0 -7
  137. package/dist/plugins/FilePlugin.d.ts +0 -8
  138. package/dist/plugins/FloatingLinkEditorPlugin/index.d.ts +0 -7
  139. package/dist/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +0 -25
  140. package/dist/plugins/HtmlCodeViewPlugin/index.d.ts +0 -2
  141. package/dist/plugins/ImagePlugin.d.ts +0 -10
  142. package/dist/plugins/LinkPlugin/index.d.ts +0 -7
  143. package/dist/plugins/LocalStoragePlugin.d.ts +0 -9
  144. package/dist/plugins/MentionsPlugin/index.d.ts +0 -8
  145. package/dist/plugins/RichTextPastePlugin/index.d.ts +0 -1
  146. package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasDialog.d.ts +0 -7
  147. package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasPlugin.d.ts +0 -3
  148. package/dist/plugins/SignatureCanvasPlugin/index.d.ts +0 -2
  149. package/dist/plugins/TableActionMenuPlugin/index.d.ts +0 -7
  150. package/dist/plugins/TableCellResizer/index.d.ts +0 -3
  151. package/dist/plugins/TableHoverActionsPlugin/index.d.ts +0 -11
  152. package/dist/plugins/TablePlugin.d.ts +0 -1
  153. package/dist/plugins/TreeViewPlugin.d.ts +0 -4
  154. package/dist/postcss-bbcc713e.js +0 -5152
  155. package/dist/postcss-bbcc713e.js.map +0 -1
  156. package/dist/standalone-36ad3877.js +0 -2601
  157. package/dist/standalone-36ad3877.js.map +0 -1
  158. package/dist/styles/PlaygroundEditorTheme.d.ts +0 -4
  159. package/dist/types.d.ts +0 -131
  160. package/dist/typescript-39d06710.js +0 -13534
  161. package/dist/typescript-39d06710.js.map +0 -1
  162. package/dist/ui/ColorPicker.d.ts +0 -14
  163. package/dist/ui/Icons.d.ts +0 -34
  164. package/dist/ui/TextInput.d.ts +0 -12
  165. package/dist/utils/debounce.d.ts +0 -7
  166. package/dist/utils/getDOMRangeRect.d.ts +0 -13
  167. package/dist/utils/getSelectedNode.d.ts +0 -4
  168. package/dist/utils/helper.d.ts +0 -3
  169. package/dist/utils/index.d.ts +0 -6
  170. package/dist/utils/invarient.d.ts +0 -1
  171. package/dist/utils/setFloatingElemPosition.d.ts +0 -8
  172. package/dist/utils/setFloatingElemPositionForLinkEditor.d.ts +0 -1
  173. package/dist/utils/url.d.ts +0 -9
@@ -1,27 +0,0 @@
1
- import { DecoratorNode, NodeKey } from '../../node_modules/lexical';
2
-
3
- /**
4
- * A custom Lexical node that embeds and renders various types of content
5
- * such as videos, PDFs, documents, and other media files.
6
- */
7
- export type DisplayType = "url" | "card" | "embed";
8
- export type Alignment = "left" | "center" | "right";
9
- export declare class EmbedNode extends DecoratorNode<JSX.Element> {
10
- __url: string;
11
- __displayType: DisplayType;
12
- __alignment: Alignment;
13
- constructor(url: string, displayType?: DisplayType, alignment?: Alignment, key?: NodeKey);
14
- static getType(): string;
15
- static clone(node: EmbedNode): EmbedNode;
16
- createDOM(): HTMLElement;
17
- updateDOM(): boolean;
18
- static importJSON(serializedNode: any): EmbedNode;
19
- exportJSON(): any;
20
- getURL(): string;
21
- getDisplayType(): DisplayType;
22
- getAlignment(): Alignment;
23
- setDisplayType(displayType: DisplayType): void;
24
- setAlignment(alignment: Alignment): void;
25
- decorate(): JSX.Element;
26
- }
27
- export declare function $createEmbedNode(url: string, displayType?: DisplayType, alignment?: Alignment): EmbedNode;
@@ -1,48 +0,0 @@
1
- import { DOMConversionMap, DOMExportOutput, EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedEditor, SerializedLexicalNode, Spread, DecoratorNode } from '../../node_modules/lexical';
2
-
3
- export interface ImagePayload {
4
- altText: string;
5
- caption?: LexicalEditor;
6
- height?: number;
7
- key?: NodeKey;
8
- maxWidth?: number;
9
- showCaption?: boolean;
10
- src: string;
11
- width?: number;
12
- captionsEnabled?: boolean;
13
- }
14
- export type SerializedImageNode = Spread<{
15
- altText: string;
16
- caption: SerializedEditor;
17
- height?: number;
18
- maxWidth: number;
19
- showCaption: boolean;
20
- src: string;
21
- width?: number;
22
- }, SerializedLexicalNode>;
23
- export declare class ImageNode extends DecoratorNode<JSX.Element> {
24
- __src: string;
25
- __altText: string;
26
- __width: "inherit" | number;
27
- __height: "inherit" | number;
28
- __maxWidth: number;
29
- __showCaption: boolean;
30
- __caption: LexicalEditor;
31
- __captionsEnabled: boolean;
32
- static getType(): string;
33
- static clone(node: ImageNode): ImageNode;
34
- static importJSON(serializedNode: SerializedImageNode): ImageNode;
35
- exportDOM(): DOMExportOutput;
36
- static importDOM(): DOMConversionMap | null;
37
- constructor(src: string, altText: string, maxWidth: number, width?: "inherit" | number, height?: "inherit" | number, showCaption?: boolean, caption?: LexicalEditor, captionsEnabled?: boolean, key?: NodeKey);
38
- exportJSON(): SerializedImageNode;
39
- setWidthAndHeight(width: "inherit" | number, height: "inherit" | number): void;
40
- setShowCaption(showCaption: boolean): void;
41
- createDOM(config: EditorConfig): HTMLElement;
42
- updateDOM(): false;
43
- getSrc(): string;
44
- getAltText(): string;
45
- decorate(): JSX.Element;
46
- }
47
- export declare function $createImageNode({ altText, height, maxWidth, captionsEnabled, src, width, showCaption, caption, key, }: ImagePayload): ImageNode;
48
- export declare function $isImageNode(node: LexicalNode | null | undefined): node is ImageNode;
@@ -1,76 +0,0 @@
1
- import { DOMConversionMap, DOMExportOutput, EditorConfig, LexicalNode, NodeKey, SerializedTextNode, Spread, TextNode } from '../../node_modules/lexical';
2
-
3
- /**
4
- * Type definition for a serialized MentionNode.
5
- * This extends a standard serialized text node with an additional `mentionName` property.
6
- */
7
- export type SerializedMentionNode = Spread<{
8
- mentionName: string;
9
- }, SerializedTextNode>;
10
- /**
11
- * MentionNode class extends TextNode to represent a mention (e.g., @username).
12
- */
13
- export declare class MentionNode extends TextNode {
14
- __mention: string;
15
- /**
16
- * Returns the type identifier for this node.
17
- */
18
- static getType(): string;
19
- /**
20
- * Creates a clone of the MentionNode.
21
- */
22
- static clone(node: MentionNode): MentionNode;
23
- /**
24
- * Imports a MentionNode from JSON representation.
25
- */
26
- static importJSON(serializedNode: SerializedMentionNode): MentionNode;
27
- /**
28
- * Constructor for MentionNode.
29
- * @param mentionName - The name of the mention (e.g., "@john")
30
- * @param text - Optional text content (defaults to mention name)
31
- * @param key - Optional unique node key
32
- */
33
- constructor(mentionName: string, text?: string, key?: NodeKey);
34
- /**
35
- * Serializes the MentionNode into JSON format.
36
- */
37
- exportJSON(): SerializedMentionNode;
38
- /**
39
- * Creates a DOM representation of the MentionNode.
40
- * This determines how the mention appears in the editor.
41
- */
42
- createDOM(config: EditorConfig): HTMLElement;
43
- /**
44
- * Exports the MentionNode as a DOM element (for copying/pasting or saving).
45
- */
46
- exportDOM(): DOMExportOutput;
47
- /**
48
- * Defines how to import a MentionNode from a pasted or loaded HTML document.
49
- */
50
- static importDOM(): DOMConversionMap | null;
51
- /**
52
- * Indicates that this node represents a text entity, meaning it behaves as a single unit.
53
- */
54
- isTextEntity(): true;
55
- /**
56
- * Prevents inserting text before the mention (e.g., avoids breaking the mention).
57
- */
58
- canInsertTextBefore(): boolean;
59
- /**
60
- * Prevents inserting text after the mention (e.g., avoids breaking the mention).
61
- */
62
- canInsertTextAfter(): boolean;
63
- }
64
- /**
65
- * Helper function to create a new MentionNode.
66
- * @param mentionName - The name of the mention (e.g., "@john")
67
- * @param textContent - Optional text content (defaults to mention name)
68
- * @returns A newly created MentionNode.
69
- */
70
- export declare function $createMentionNode(mentionName: string, textContent?: string): MentionNode;
71
- /**
72
- * Type guard function to check if a node is a MentionNode.
73
- * @param node - The node to check.
74
- * @returns True if the node is a MentionNode, false otherwise.
75
- */
76
- export declare function $isMentionNode(node: LexicalNode | null | undefined): node is MentionNode;
@@ -1,14 +0,0 @@
1
- import { default as React } from 'react';
2
- import { EditorConfigTypes } from '../../types';
3
-
4
- /**
5
- * ConfigurableEditor component using Lexical.
6
- * Includes plugins for various functionalities such as lists, tables, and formatting.
7
- */
8
- interface ConfigurableEditorProps {
9
- config: EditorConfigTypes;
10
- defaultFontFamilies: string[];
11
- mentionUserList: string[];
12
- }
13
- declare const ConfigurableEditor: React.FC<ConfigurableEditorProps>;
14
- export default ConfigurableEditor;
@@ -1,2 +0,0 @@
1
- declare const ConfigurableEditorPage: () => import("react/jsx-runtime").JSX.Element;
2
- export default ConfigurableEditorPage;
@@ -1,2 +0,0 @@
1
- declare const NotFound: () => import("react/jsx-runtime").JSX.Element;
2
- export default NotFound;
@@ -1,6 +0,0 @@
1
- /**
2
- * RichTextEditor component using Lexical.
3
- * Includes plugins for various functionalities such as lists, tables, and formatting.
4
- */
5
- export declare const RichTextEditor: () => import("react/jsx-runtime").JSX.Element;
6
- export default RichTextEditor;
@@ -1,6 +0,0 @@
1
- /**
2
- * TextareaEditor component using Lexical.
3
- * Includes plugins for various functionalities such as lists, tables, and formatting.
4
- */
5
- export declare const TextareaEditor: () => import("react/jsx-runtime").JSX.Element;
6
- export default TextareaEditor;
@@ -1,5 +0,0 @@
1
- declare const useStyles: () => {
2
- contentEditable: string;
3
- placeholder: string;
4
- };
5
- export default useStyles;
@@ -1,6 +0,0 @@
1
- import { LexicalCommand } from '../../node_modules/lexical';
2
-
3
- export declare const TOGGLE_AI_CHAT_COMMAND: LexicalCommand<void>;
4
- export default function AIChatPlugin({ anchorElem, }: {
5
- anchorElem?: HTMLElement;
6
- }): JSX.Element | null;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- declare const CodeHighlightPlugin: FC;
4
- export default CodeHighlightPlugin;
@@ -1,8 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- export default function DragDropPaste(): null;
@@ -1,4 +0,0 @@
1
-
2
- export default function FloatingEmbedMenuPlugin({ anchorElem, }: {
3
- anchorElem?: HTMLElement;
4
- }): JSX.Element | null;
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- interface EmbedPreviewPluginProps {
4
- floatingAnchorElem?: HTMLElement;
5
- }
6
- declare const EmbedPreviewPlugin: React.FC<EmbedPreviewPluginProps>;
7
- export default EmbedPreviewPlugin;
@@ -1,8 +0,0 @@
1
- import { LexicalCommand } from '../../node_modules/lexical';
2
-
3
- export declare const INSERT_FILE_COMMAND: LexicalCommand<{
4
- src: string;
5
- linkText: string;
6
- }>;
7
- declare const FilePlugin: React.FC;
8
- export default FilePlugin;
@@ -1,7 +0,0 @@
1
- import { JSX, Dispatch } from 'react';
2
-
3
- export default function FloatingLinkEditorPlugin({ anchorElem, isLinkEditMode, setIsLinkEditMode, }: {
4
- anchorElem?: HTMLElement;
5
- isLinkEditMode: boolean;
6
- setIsLinkEditMode: Dispatch<boolean>;
7
- }): JSX.Element | null;
@@ -1,25 +0,0 @@
1
- import { JSX, Dispatch } from 'react';
2
-
3
- /**
4
- * Defines the available text formatting features in the toolbar.
5
- */
6
- type FormatFeatures = {
7
- bold?: boolean;
8
- italic?: boolean;
9
- underline?: boolean;
10
- uppercase?: boolean;
11
- lowercase?: boolean;
12
- capitalize?: boolean;
13
- strikethrough?: boolean;
14
- subscript?: boolean;
15
- superscript?: boolean;
16
- code?: boolean;
17
- link?: boolean;
18
- aiChat?: boolean;
19
- };
20
- export default function FloatingTextFormatToolbarPlugin({ anchorElem, setIsLinkEditMode, features, }: {
21
- anchorElem?: HTMLElement;
22
- setIsLinkEditMode: Dispatch<boolean>;
23
- features?: FormatFeatures;
24
- }): JSX.Element | null;
25
- export {};
@@ -1,2 +0,0 @@
1
- declare const HtmlViewTogglePlugin: () => import("react/jsx-runtime").JSX.Element;
2
- export default HtmlViewTogglePlugin;
@@ -1,10 +0,0 @@
1
- import { LexicalCommand } from '../../node_modules/lexical';
2
- import { FC } from 'react';
3
- import { InsertImagePayload } from '../types';
4
-
5
- interface ImagePluginProps {
6
- captionsEnabled?: boolean;
7
- }
8
- export declare const INSERT_IMAGE_COMMAND: LexicalCommand<InsertImagePayload>;
9
- declare const ImagePlugin: FC<ImagePluginProps>;
10
- export default ImagePlugin;
@@ -1,7 +0,0 @@
1
- import { JSX } from 'react';
2
-
3
- type Props = {
4
- hasLinkAttributes?: boolean;
5
- };
6
- export default function LinkPlugin({ hasLinkAttributes, }: Props): JSX.Element;
7
- export {};
@@ -1,9 +0,0 @@
1
- import { FC } from 'react';
2
- import { LocalStoragePluginProps } from '../types';
3
-
4
- /**
5
- * We have extended our editor so that it stores our content safely in an external store, utilizing the concept of Lexical’s editor state.
6
- * @param namespace
7
- */
8
- declare const LocalStoragePlugin: FC<LocalStoragePluginProps>;
9
- export default LocalStoragePlugin;
@@ -1,8 +0,0 @@
1
- import { JSX } from 'react';
2
-
3
- /**
4
- * Main plugin component for handling @mentions in the editor.
5
- */
6
- export default function NewMentionsPlugin({ userList, }: {
7
- userList?: string[];
8
- }): JSX.Element | null;
@@ -1 +0,0 @@
1
- export default function RichTextPastePlugin(): null;
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- interface SignatureCanvasDialogProps {
4
- onClose: () => void;
5
- }
6
- declare const SignatureCanvasDialog: React.FC<SignatureCanvasDialogProps>;
7
- export default SignatureCanvasDialog;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const INSERT_SIGNATURE_COMMAND: import('../../../node_modules/lexical').LexicalCommand<unknown>;
3
- export declare function SignatureCanvasPlugin(): JSX.Element | null;
@@ -1,2 +0,0 @@
1
- export { default as SignatureCanvasDialog } from './SignatureCanvasDialog';
2
- export { INSERT_SIGNATURE_COMMAND, SignatureCanvasPlugin, } from './SignatureCanvasPlugin';
@@ -1,7 +0,0 @@
1
- import { ReactPortal } from 'react';
2
-
3
- export default function TableActionMenuPlugin({ anchorElem, // Remove default value here
4
- cellMerge, }: {
5
- anchorElem: HTMLElement;
6
- cellMerge?: boolean;
7
- }): null | ReactPortal;
@@ -1,3 +0,0 @@
1
- import { ReactPortal } from 'react';
2
-
3
- export default function TableCellResizerPlugin(): null | ReactPortal;
@@ -1,11 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- import * as React from "react";
9
- export default function TableHoverActionsPlugin({ anchorElem, }: {
10
- anchorElem?: HTMLElement;
11
- }): React.ReactPortal | null;
@@ -1 +0,0 @@
1
- export default function TableOptionPlugin(): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- declare const TreeViewPlugin: FC;
4
- export default TreeViewPlugin;