Files
landing-ply/kits/components/src/editor/index.ts
T

31 lines
846 B
TypeScript

export type { EditorProps } from "./Editor";
export { Editor } from "./Editor";
export type {
EditorOptions,
MentionItem,
MentionSource,
SlashItem,
} from "./options";
export type { LocalEditorOptions } from "./useEditor";
export { useEditor, useSharedEditor } from "./useEditor";
export type { RichText } from "./richText";
export { richText, sharedRichText } from "./richText";
export type { BubbleMenuProps, FloatingMenuProps } from "./menus";
export { BubbleMenu, FloatingMenu } from "./menus";
export type { Editor as TiptapEditor, JSONContent } from "@tiptap/core";
export {
createBlockMarkdownSpec,
createInlineMarkdownSpec,
Extension,
Mark,
mergeAttributes,
Node,
} from "@tiptap/core";
export {
EditorContent,
NodeViewContent,
NodeViewWrapper,
ReactNodeViewRenderer,
useEditorState,
} from "@tiptap/react";