@ctzhian/tiptap 0.4.0
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.
- package/LICENSE +21 -0
- package/README.md +43 -0
- package/dist/Editor/demo.d.ts +4 -0
- package/dist/Editor/demo.js +150 -0
- package/dist/Editor/index.d.ts +4 -0
- package/dist/Editor/index.js +21 -0
- package/dist/EditorThemeProvider/index.d.ts +11 -0
- package/dist/EditorThemeProvider/index.js +90 -0
- package/dist/EditorToolbar/index.d.ts +9 -0
- package/dist/EditorToolbar/index.js +286 -0
- package/dist/asset/css/index.css +161 -0
- package/dist/asset/images/disk.png +0 -0
- package/dist/asset/images/down.svg +3 -0
- package/dist/component/CustomBubbleMenu/SelectionText.d.ts +9 -0
- package/dist/component/CustomBubbleMenu/SelectionText.js +295 -0
- package/dist/component/CustomDragHandle/index.d.ts +9 -0
- package/dist/component/CustomDragHandle/index.js +1172 -0
- package/dist/component/CustomFloatingMenu/index.d.ts +0 -0
- package/dist/component/CustomFloatingMenu/index.js +85 -0
- package/dist/component/FloatingPopover/index.d.ts +13 -0
- package/dist/component/FloatingPopover/index.js +104 -0
- package/dist/component/Icons/ai-generate-2-icon.d.ts +6 -0
- package/dist/component/Icons/ai-generate-2-icon.js +13 -0
- package/dist/component/Icons/ai-generate-text-icon.d.ts +6 -0
- package/dist/component/Icons/ai-generate-text-icon.js +13 -0
- package/dist/component/Icons/align-bottom-icon.d.ts +6 -0
- package/dist/component/Icons/align-bottom-icon.js +13 -0
- package/dist/component/Icons/align-center-icon.d.ts +6 -0
- package/dist/component/Icons/align-center-icon.js +13 -0
- package/dist/component/Icons/align-justify-icon.d.ts +6 -0
- package/dist/component/Icons/align-justify-icon.js +13 -0
- package/dist/component/Icons/align-left-icon.d.ts +6 -0
- package/dist/component/Icons/align-left-icon.js +13 -0
- package/dist/component/Icons/align-right-icon.d.ts +6 -0
- package/dist/component/Icons/align-right-icon.js +13 -0
- package/dist/component/Icons/align-top-icon.d.ts +6 -0
- package/dist/component/Icons/align-top-icon.js +13 -0
- package/dist/component/Icons/align-vertically-icon.d.ts +6 -0
- package/dist/component/Icons/align-vertically-icon.js +13 -0
- package/dist/component/Icons/anticlockwise-line-icon.d.ts +6 -0
- package/dist/component/Icons/anticlockwise-line-icon.js +13 -0
- package/dist/component/Icons/arrow-down-s-line-icon.d.ts +6 -0
- package/dist/component/Icons/arrow-down-s-line-icon.js +13 -0
- package/dist/component/Icons/arrow-go-back-line-icon.d.ts +6 -0
- package/dist/component/Icons/arrow-go-back-line-icon.js +13 -0
- package/dist/component/Icons/arrow-go-forward-line-icon.d.ts +6 -0
- package/dist/component/Icons/arrow-go-forward-line-icon.js +13 -0
- package/dist/component/Icons/arrow-left-wide-line-icon.d.ts +6 -0
- package/dist/component/Icons/arrow-left-wide-line-icon.js +13 -0
- package/dist/component/Icons/at-line-icon.d.ts +6 -0
- package/dist/component/Icons/at-line-icon.js +13 -0
- package/dist/component/Icons/attachment-2-icon.d.ts +6 -0
- package/dist/component/Icons/attachment-2-icon.js +13 -0
- package/dist/component/Icons/attachment-line-icon.d.ts +6 -0
- package/dist/component/Icons/attachment-line-icon.js +13 -0
- package/dist/component/Icons/bold-icon.d.ts +6 -0
- package/dist/component/Icons/bold-icon.js +13 -0
- package/dist/component/Icons/brush-line-icon.d.ts +6 -0
- package/dist/component/Icons/brush-line-icon.js +13 -0
- package/dist/component/Icons/carousel-view-icon.d.ts +6 -0
- package/dist/component/Icons/carousel-view-icon.js +13 -0
- package/dist/component/Icons/checkbox-blank-circle-line-icon.d.ts +6 -0
- package/dist/component/Icons/checkbox-blank-circle-line-icon.js +13 -0
- package/dist/component/Icons/checkbox-circle-line-icon.d.ts +6 -0
- package/dist/component/Icons/checkbox-circle-line-icon.js +13 -0
- package/dist/component/Icons/clockwise-line-icon.d.ts +6 -0
- package/dist/component/Icons/clockwise-line-icon.js +13 -0
- package/dist/component/Icons/code-box-line-icon.d.ts +6 -0
- package/dist/component/Icons/code-box-line-icon.js +13 -0
- package/dist/component/Icons/code-line-icon.d.ts +6 -0
- package/dist/component/Icons/code-line-icon.js +13 -0
- package/dist/component/Icons/code-s-slash-line-icon.d.ts +6 -0
- package/dist/component/Icons/code-s-slash-line-icon.js +13 -0
- package/dist/component/Icons/copy-icon.d.ts +6 -0
- package/dist/component/Icons/copy-icon.js +13 -0
- package/dist/component/Icons/custom-size-icon.d.ts +6 -0
- package/dist/component/Icons/custom-size-icon.js +13 -0
- package/dist/component/Icons/delete-column-icon.d.ts +6 -0
- package/dist/component/Icons/delete-column-icon.js +13 -0
- package/dist/component/Icons/delete-line-icon.d.ts +6 -0
- package/dist/component/Icons/delete-line-icon.js +13 -0
- package/dist/component/Icons/delete-row-icon.d.ts +6 -0
- package/dist/component/Icons/delete-row-icon.js +13 -0
- package/dist/component/Icons/double-quotes-l-icon.d.ts +6 -0
- package/dist/component/Icons/double-quotes-l-icon.js +13 -0
- package/dist/component/Icons/download-line-icon.d.ts +6 -0
- package/dist/component/Icons/download-line-icon.js +13 -0
- package/dist/component/Icons/draggable-icon.d.ts +6 -0
- package/dist/component/Icons/draggable-icon.js +13 -0
- package/dist/component/Icons/edit-box-line-icon.d.ts +6 -0
- package/dist/component/Icons/edit-box-line-icon.js +13 -0
- package/dist/component/Icons/export-line-icon.d.ts +6 -0
- package/dist/component/Icons/export-line-icon.js +13 -0
- package/dist/component/Icons/file-copy-line-icon.d.ts +6 -0
- package/dist/component/Icons/file-copy-line-icon.js +13 -0
- package/dist/component/Icons/file-upload-line-icon.d.ts +6 -0
- package/dist/component/Icons/file-upload-line-icon.js +13 -0
- package/dist/component/Icons/flow-chart-icon.d.ts +6 -0
- package/dist/component/Icons/flow-chart-icon.js +13 -0
- package/dist/component/Icons/font-color-icon.d.ts +6 -0
- package/dist/component/Icons/font-color-icon.js +13 -0
- package/dist/component/Icons/font-family-icon.d.ts +6 -0
- package/dist/component/Icons/font-family-icon.js +13 -0
- package/dist/component/Icons/font-size-icon.d.ts +6 -0
- package/dist/component/Icons/font-size-icon.js +13 -0
- package/dist/component/Icons/format-clear-icon.d.ts +6 -0
- package/dist/component/Icons/format-clear-icon.js +13 -0
- package/dist/component/Icons/formula-icon.d.ts +6 -0
- package/dist/component/Icons/formula-icon.js +13 -0
- package/dist/component/Icons/fullscreen-exit-line-icon.d.ts +6 -0
- package/dist/component/Icons/fullscreen-exit-line-icon.js +13 -0
- package/dist/component/Icons/fullscreen-line-icon.d.ts +6 -0
- package/dist/component/Icons/fullscreen-line-icon.js +13 -0
- package/dist/component/Icons/functions-icon.d.ts +6 -0
- package/dist/component/Icons/functions-icon.js +13 -0
- package/dist/component/Icons/game-line-icon.d.ts +6 -0
- package/dist/component/Icons/game-line-icon.js +13 -0
- package/dist/component/Icons/h-1-icon.d.ts +6 -0
- package/dist/component/Icons/h-1-icon.js +13 -0
- package/dist/component/Icons/h-2-icon.d.ts +6 -0
- package/dist/component/Icons/h-2-icon.js +13 -0
- package/dist/component/Icons/h-3-icon.d.ts +6 -0
- package/dist/component/Icons/h-3-icon.js +13 -0
- package/dist/component/Icons/h-4-icon.d.ts +6 -0
- package/dist/component/Icons/h-4-icon.js +13 -0
- package/dist/component/Icons/h-5-icon.d.ts +6 -0
- package/dist/component/Icons/h-5-icon.js +13 -0
- package/dist/component/Icons/h-6-icon.d.ts +6 -0
- package/dist/component/Icons/h-6-icon.js +13 -0
- package/dist/component/Icons/heading-icon.d.ts +6 -0
- package/dist/component/Icons/heading-icon.js +13 -0
- package/dist/component/Icons/image-add-line-icon.d.ts +6 -0
- package/dist/component/Icons/image-add-line-icon.js +13 -0
- package/dist/component/Icons/image-line-icon.d.ts +6 -0
- package/dist/component/Icons/image-line-icon.js +13 -0
- package/dist/component/Icons/import-line-icon.d.ts +6 -0
- package/dist/component/Icons/import-line-icon.js +13 -0
- package/dist/component/Icons/index.d.ts +110 -0
- package/dist/component/Icons/index.js +113 -0
- package/dist/component/Icons/insert-column-left-icon.d.ts +6 -0
- package/dist/component/Icons/insert-column-left-icon.js +13 -0
- package/dist/component/Icons/insert-column-right-icon.d.ts +6 -0
- package/dist/component/Icons/insert-column-right-icon.js +13 -0
- package/dist/component/Icons/insert-row-bottom-icon.d.ts +6 -0
- package/dist/component/Icons/insert-row-bottom-icon.js +13 -0
- package/dist/component/Icons/insert-row-top-icon.d.ts +6 -0
- package/dist/component/Icons/insert-row-top-icon.js +13 -0
- package/dist/component/Icons/italic-icon.d.ts +6 -0
- package/dist/component/Icons/italic-icon.js +13 -0
- package/dist/component/Icons/layout-left-2-line-icon.d.ts +6 -0
- package/dist/component/Icons/layout-left-2-line-icon.js +13 -0
- package/dist/component/Icons/layout-top-2-line-icon.d.ts +6 -0
- package/dist/component/Icons/layout-top-2-line-icon.js +13 -0
- package/dist/component/Icons/link-icon.d.ts +6 -0
- package/dist/component/Icons/link-icon.js +13 -0
- package/dist/component/Icons/link-unlink-icon.d.ts +6 -0
- package/dist/component/Icons/link-unlink-icon.js +13 -0
- package/dist/component/Icons/list-check-2-icon.d.ts +6 -0
- package/dist/component/Icons/list-check-2-icon.js +13 -0
- package/dist/component/Icons/list-check-3-icon.d.ts +6 -0
- package/dist/component/Icons/list-check-3-icon.js +13 -0
- package/dist/component/Icons/list-ordered-2-icon.d.ts +6 -0
- package/dist/component/Icons/list-ordered-2-icon.js +13 -0
- package/dist/component/Icons/list-unordered-icon.d.ts +6 -0
- package/dist/component/Icons/list-unordered-icon.js +13 -0
- package/dist/component/Icons/markdown-line-icon.d.ts +6 -0
- package/dist/component/Icons/markdown-line-icon.js +13 -0
- package/dist/component/Icons/markup-line-icon.d.ts +6 -0
- package/dist/component/Icons/markup-line-icon.js +13 -0
- package/dist/component/Icons/menu-fold-2-fill-icon.d.ts +6 -0
- package/dist/component/Icons/menu-fold-2-fill-icon.js +13 -0
- package/dist/component/Icons/merge-cells-horizontal-icon.d.ts +6 -0
- package/dist/component/Icons/merge-cells-horizontal-icon.js +13 -0
- package/dist/component/Icons/merge-cells-vertical-icon.d.ts +6 -0
- package/dist/component/Icons/merge-cells-vertical-icon.js +13 -0
- package/dist/component/Icons/mind-map-icon.d.ts +6 -0
- package/dist/component/Icons/mind-map-icon.js +13 -0
- package/dist/component/Icons/more-line-icon.d.ts +6 -0
- package/dist/component/Icons/more-line-icon.js +13 -0
- package/dist/component/Icons/movie-line-icon.d.ts +6 -0
- package/dist/component/Icons/movie-line-icon.js +13 -0
- package/dist/component/Icons/music-2-line-icon.d.ts +6 -0
- package/dist/component/Icons/music-2-line-icon.js +13 -0
- package/dist/component/Icons/node-tree-icon.d.ts +6 -0
- package/dist/component/Icons/node-tree-icon.js +13 -0
- package/dist/component/Icons/notification-3-line-icon.d.ts +6 -0
- package/dist/component/Icons/notification-3-line-icon.js +13 -0
- package/dist/component/Icons/organization-chart-icon.d.ts +6 -0
- package/dist/component/Icons/organization-chart-icon.js +13 -0
- package/dist/component/Icons/pause-line-icon.d.ts +6 -0
- package/dist/component/Icons/pause-line-icon.js +13 -0
- package/dist/component/Icons/play-line-icon.d.ts +6 -0
- package/dist/component/Icons/play-line-icon.js +13 -0
- package/dist/component/Icons/quote-text-icon.d.ts +6 -0
- package/dist/component/Icons/quote-text-icon.js +13 -0
- package/dist/component/Icons/repeat-2-line-icon.d.ts +6 -0
- package/dist/component/Icons/repeat-2-line-icon.js +13 -0
- package/dist/component/Icons/reset-left-fill-icon.d.ts +6 -0
- package/dist/component/Icons/reset-left-fill-icon.js +13 -0
- package/dist/component/Icons/scissors-cut-line-icon.d.ts +6 -0
- package/dist/component/Icons/scissors-cut-line-icon.js +13 -0
- package/dist/component/Icons/screenshot-line-icon.d.ts +6 -0
- package/dist/component/Icons/screenshot-line-icon.js +13 -0
- package/dist/component/Icons/scroll-to-bottom-line-icon.d.ts +6 -0
- package/dist/component/Icons/scroll-to-bottom-line-icon.js +13 -0
- package/dist/component/Icons/separator-icon.d.ts +6 -0
- package/dist/component/Icons/separator-icon.js +13 -0
- package/dist/component/Icons/share-box-line-icon.d.ts +6 -0
- package/dist/component/Icons/share-box-line-icon.js +13 -0
- package/dist/component/Icons/slash-commands-2-icon.d.ts +3 -0
- package/dist/component/Icons/slash-commands-2-icon.js +13 -0
- package/dist/component/Icons/speed-line-icon.d.ts +6 -0
- package/dist/component/Icons/speed-line-icon.js +13 -0
- package/dist/component/Icons/split-cells-horizontal-icon.d.ts +6 -0
- package/dist/component/Icons/split-cells-horizontal-icon.js +13 -0
- package/dist/component/Icons/split-cells-vertical-icon.d.ts +6 -0
- package/dist/component/Icons/split-cells-vertical-icon.js +13 -0
- package/dist/component/Icons/square-root-icon.d.ts +6 -0
- package/dist/component/Icons/square-root-icon.js +13 -0
- package/dist/component/Icons/strikethrough-icon.d.ts +6 -0
- package/dist/component/Icons/strikethrough-icon.js +13 -0
- package/dist/component/Icons/subscript-icon.d.ts +6 -0
- package/dist/component/Icons/subscript-icon.js +13 -0
- package/dist/component/Icons/superscript-icon.d.ts +6 -0
- package/dist/component/Icons/superscript-icon.js +13 -0
- package/dist/component/Icons/table-2-icon.d.ts +6 -0
- package/dist/component/Icons/table-2-icon.js +13 -0
- package/dist/component/Icons/text-icon.d.ts +6 -0
- package/dist/component/Icons/text-icon.js +13 -0
- package/dist/component/Icons/text-wrap-icon.d.ts +6 -0
- package/dist/component/Icons/text-wrap-icon.js +13 -0
- package/dist/component/Icons/title-icon.d.ts +6 -0
- package/dist/component/Icons/title-icon.js +13 -0
- package/dist/component/Icons/underline-icon.d.ts +6 -0
- package/dist/component/Icons/underline-icon.js +13 -0
- package/dist/component/Icons/upload-cloud-2-line-icon.d.ts +6 -0
- package/dist/component/Icons/upload-cloud-2-line-icon.js +13 -0
- package/dist/component/Icons/upload-icon.d.ts +6 -0
- package/dist/component/Icons/upload-icon.js +13 -0
- package/dist/component/Icons/volume-mute-line-icon.d.ts +6 -0
- package/dist/component/Icons/volume-mute-line-icon.js +13 -0
- package/dist/component/Icons/volume-up-line-icon.d.ts +6 -0
- package/dist/component/Icons/volume-up-line-icon.js +13 -0
- package/dist/component/ListHover/index.d.ts +7 -0
- package/dist/component/ListHover/index.js +367 -0
- package/dist/component/Menu/index.d.ts +4 -0
- package/dist/component/Menu/index.js +189 -0
- package/dist/component/Toolbar/EditorAlignSelect.d.ts +7 -0
- package/dist/component/Toolbar/EditorAlignSelect.js +176 -0
- package/dist/component/Toolbar/EditorCode.d.ts +7 -0
- package/dist/component/Toolbar/EditorCode.js +150 -0
- package/dist/component/Toolbar/EditorFontBgColor.d.ts +7 -0
- package/dist/component/Toolbar/EditorFontBgColor.js +244 -0
- package/dist/component/Toolbar/EditorFontColor.d.ts +7 -0
- package/dist/component/Toolbar/EditorFontColor.js +246 -0
- package/dist/component/Toolbar/EditorFontSize.d.ts +7 -0
- package/dist/component/Toolbar/EditorFontSize.js +137 -0
- package/dist/component/Toolbar/EditorHeading.d.ts +7 -0
- package/dist/component/Toolbar/EditorHeading.js +174 -0
- package/dist/component/Toolbar/EditorInsert/index.d.ts +7 -0
- package/dist/component/Toolbar/EditorInsert/index.js +186 -0
- package/dist/component/Toolbar/EditorListSelect.d.ts +7 -0
- package/dist/component/Toolbar/EditorListSelect.js +163 -0
- package/dist/component/Toolbar/EditorMath.d.ts +7 -0
- package/dist/component/Toolbar/EditorMath.js +148 -0
- package/dist/component/Toolbar/EditorMore/NotificationDialog.d.ts +7 -0
- package/dist/component/Toolbar/EditorMore/NotificationDialog.js +72 -0
- package/dist/component/Toolbar/EditorMore/index.d.ts +7 -0
- package/dist/component/Toolbar/EditorMore/index.js +101 -0
- package/dist/component/Toolbar/EditorScript.d.ts +7 -0
- package/dist/component/Toolbar/EditorScript.js +150 -0
- package/dist/component/Toolbar/EditorVerticalAlignSelect.d.ts +7 -0
- package/dist/component/Toolbar/EditorVerticalAlignSelect.js +163 -0
- package/dist/component/Toolbar/Item.d.ts +15 -0
- package/dist/component/Toolbar/Item.js +69 -0
- package/dist/component/Toolbar/index.d.ts +13 -0
- package/dist/component/Toolbar/index.js +13 -0
- package/dist/component/index.d.ts +1 -0
- package/dist/component/index.js +1 -0
- package/dist/contants/enums.d.ts +30 -0
- package/dist/contants/enums.js +98 -0
- package/dist/contants/highlight.d.ts +4 -0
- package/dist/contants/highlight.js +580 -0
- package/dist/contants/placeholder.d.ts +16 -0
- package/dist/contants/placeholder.js +16 -0
- package/dist/contants/shortcut-key.d.ts +48 -0
- package/dist/contants/shortcut-key.js +224 -0
- package/dist/contants/slash-commands.d.ts +13 -0
- package/dist/contants/slash-commands.js +313 -0
- package/dist/extension/component/Attachment/Insert.d.ts +13 -0
- package/dist/extension/component/Attachment/Insert.js +222 -0
- package/dist/extension/component/Attachment/Readonly.d.ts +9 -0
- package/dist/extension/component/Attachment/Readonly.js +93 -0
- package/dist/extension/component/Attachment/index.d.ts +13 -0
- package/dist/extension/component/Attachment/index.js +317 -0
- package/dist/extension/component/Audio/Insert.d.ts +10 -0
- package/dist/extension/component/Audio/Insert.js +351 -0
- package/dist/extension/component/Audio/Readonly.d.ts +8 -0
- package/dist/extension/component/Audio/Readonly.js +428 -0
- package/dist/extension/component/Audio/index.d.ts +14 -0
- package/dist/extension/component/Audio/index.js +740 -0
- package/dist/extension/component/CodeBlock/Readonly.d.ts +4 -0
- package/dist/extension/component/CodeBlock/Readonly.js +135 -0
- package/dist/extension/component/CodeBlock/index.d.ts +4 -0
- package/dist/extension/component/CodeBlock/index.js +296 -0
- package/dist/extension/component/CustomLink/Insert.d.ts +0 -0
- package/dist/extension/component/CustomLink/Insert.js +176 -0
- package/dist/extension/component/CustomLink/Readonly.d.ts +0 -0
- package/dist/extension/component/CustomLink/Readonly.js +106 -0
- package/dist/extension/component/CustomLink/index.d.ts +0 -0
- package/dist/extension/component/CustomLink/index.js +440 -0
- package/dist/extension/component/EmojiList/index.d.ts +14 -0
- package/dist/extension/component/EmojiList/index.js +104 -0
- package/dist/extension/component/Image/Crop.d.ts +12 -0
- package/dist/extension/component/Image/Crop.js +218 -0
- package/dist/extension/component/Image/Insert.d.ts +10 -0
- package/dist/extension/component/Image/Insert.js +309 -0
- package/dist/extension/component/Image/Readonly.d.ts +8 -0
- package/dist/extension/component/Image/Readonly.js +52 -0
- package/dist/extension/component/Image/index.d.ts +21 -0
- package/dist/extension/component/Image/index.js +372 -0
- package/dist/extension/component/Link/Insert.d.ts +10 -0
- package/dist/extension/component/Link/Insert.js +253 -0
- package/dist/extension/component/Link/Readonly.d.ts +8 -0
- package/dist/extension/component/Link/Readonly.js +102 -0
- package/dist/extension/component/Link/index.d.ts +12 -0
- package/dist/extension/component/Link/index.js +510 -0
- package/dist/extension/component/Mathematics/block/Readonly.d.ts +9 -0
- package/dist/extension/component/Mathematics/block/Readonly.js +36 -0
- package/dist/extension/component/Mathematics/block/index.d.ts +8 -0
- package/dist/extension/component/Mathematics/block/index.js +149 -0
- package/dist/extension/component/Mathematics/index.d.ts +3 -0
- package/dist/extension/component/Mathematics/index.js +3 -0
- package/dist/extension/component/Mathematics/inline/Readonly.d.ts +9 -0
- package/dist/extension/component/Mathematics/inline/Readonly.js +34 -0
- package/dist/extension/component/Mathematics/inline/index.d.ts +8 -0
- package/dist/extension/component/Mathematics/inline/index.js +148 -0
- package/dist/extension/component/MentionList/index.d.ts +13 -0
- package/dist/extension/component/MentionList/index.js +92 -0
- package/dist/extension/component/SlashCommandsList/index.d.ts +4 -0
- package/dist/extension/component/SlashCommandsList/index.js +121 -0
- package/dist/extension/component/Table/ContextMenu.d.ts +10 -0
- package/dist/extension/component/Table/ContextMenu.js +228 -0
- package/dist/extension/component/Table/TableContextMenuPlugin.d.ts +9 -0
- package/dist/extension/component/Table/TableContextMenuPlugin.js +272 -0
- package/dist/extension/component/Table/index.d.ts +2 -0
- package/dist/extension/component/Table/index.js +2 -0
- package/dist/extension/component/UploadProgress/index.d.ts +10 -0
- package/dist/extension/component/UploadProgress/index.js +103 -0
- package/dist/extension/component/Video/Insert.d.ts +10 -0
- package/dist/extension/component/Video/Insert.js +257 -0
- package/dist/extension/component/Video/Readonly.d.ts +8 -0
- package/dist/extension/component/Video/Readonly.js +41 -0
- package/dist/extension/component/Video/index.d.ts +14 -0
- package/dist/extension/component/Video/index.js +166 -0
- package/dist/extension/extension/SlashCommands.d.ts +3 -0
- package/dist/extension/extension/SlashCommands.js +25 -0
- package/dist/extension/extension/index.d.ts +1 -0
- package/dist/extension/extension/index.js +1 -0
- package/dist/extension/index.d.ts +2 -0
- package/dist/extension/index.js +176 -0
- package/dist/extension/mark/Link.d.ts +0 -0
- package/dist/extension/mark/Link.js +58 -0
- package/dist/extension/mark/index.d.ts +0 -0
- package/dist/extension/mark/index.js +1 -0
- package/dist/extension/node/Attachment.d.ts +28 -0
- package/dist/extension/node/Attachment.js +227 -0
- package/dist/extension/node/Audio.d.ts +23 -0
- package/dist/extension/node/Audio.js +194 -0
- package/dist/extension/node/CodeBlockLowlight.d.ts +1 -0
- package/dist/extension/node/CodeBlockLowlight.js +40 -0
- package/dist/extension/node/Details.d.ts +3 -0
- package/dist/extension/node/Details.js +39 -0
- package/dist/extension/node/Emoji.d.ts +1 -0
- package/dist/extension/node/Emoji.js +7 -0
- package/dist/extension/node/FileHandler.d.ts +4 -0
- package/dist/extension/node/FileHandler.js +294 -0
- package/dist/extension/node/Image.d.ts +3 -0
- package/dist/extension/node/Image.js +38 -0
- package/dist/extension/node/Link/helpers/autolink.d.ts +15 -0
- package/dist/extension/node/Link/helpers/autolink.js +162 -0
- package/dist/extension/node/Link/helpers/clickHandler.d.ts +10 -0
- package/dist/extension/node/Link/helpers/clickHandler.js +46 -0
- package/dist/extension/node/Link/helpers/pasteHandler.d.ts +10 -0
- package/dist/extension/node/Link/helpers/pasteHandler.js +32 -0
- package/dist/extension/node/Link/helpers/whitespace.d.ts +4 -0
- package/dist/extension/node/Link/helpers/whitespace.js +6 -0
- package/dist/extension/node/Link/index.d.ts +162 -0
- package/dist/extension/node/Link/index.js +461 -0
- package/dist/extension/node/ListKit.d.ts +2 -0
- package/dist/extension/node/ListKit.js +23 -0
- package/dist/extension/node/Mathematics.d.ts +27 -0
- package/dist/extension/node/Mathematics.js +97 -0
- package/dist/extension/node/Mention.d.ts +2 -0
- package/dist/extension/node/Mention.js +10 -0
- package/dist/extension/node/Table.d.ts +5 -0
- package/dist/extension/node/Table.js +174 -0
- package/dist/extension/node/TableOfContents/index.d.ts +9 -0
- package/dist/extension/node/TableOfContents/index.js +391 -0
- package/dist/extension/node/TableOfContents/plugin.d.ts +6 -0
- package/dist/extension/node/TableOfContents/plugin.js +58 -0
- package/dist/extension/node/TableOfContents/type.d.ts +45 -0
- package/dist/extension/node/TableOfContents/type.js +1 -0
- package/dist/extension/node/TableOfContents/utils.d.ts +6 -0
- package/dist/extension/node/TableOfContents/utils.js +70 -0
- package/dist/extension/node/UploadProgress.d.ts +21 -0
- package/dist/extension/node/UploadProgress.js +135 -0
- package/dist/extension/node/VerticalAlign.d.ts +49 -0
- package/dist/extension/node/VerticalAlign.js +88 -0
- package/dist/extension/node/Video.d.ts +23 -0
- package/dist/extension/node/Video.js +195 -0
- package/dist/extension/node/Youtube.d.ts +3 -0
- package/dist/extension/node/Youtube.js +14 -0
- package/dist/extension/node/index.d.ts +17 -0
- package/dist/extension/node/index.js +17 -0
- package/dist/extension/suggestion/emoji.d.ts +3 -0
- package/dist/extension/suggestion/emoji.js +57 -0
- package/dist/extension/suggestion/mention.d.ts +4 -0
- package/dist/extension/suggestion/mention.js +88 -0
- package/dist/extension/suggestion/slash.d.ts +34 -0
- package/dist/extension/suggestion/slash.js +63 -0
- package/dist/hook/fn.d.ts +13 -0
- package/dist/hook/fn.js +37 -0
- package/dist/hook/index.d.ts +4 -0
- package/dist/hook/index.js +110 -0
- package/dist/index.css +372 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +7 -0
- package/dist/themes/color.d.ts +5 -0
- package/dist/themes/color.js +4 -0
- package/dist/themes/componentStyleOverrides.d.ts +396 -0
- package/dist/themes/componentStyleOverrides.js +431 -0
- package/dist/themes/custom.d.ts +5 -0
- package/dist/themes/custom.js +4 -0
- package/dist/themes/dark.d.ts +86 -0
- package/dist/themes/dark.js +86 -0
- package/dist/themes/index.d.ts +19 -0
- package/dist/themes/index.js +37 -0
- package/dist/themes/light.d.ts +86 -0
- package/dist/themes/light.js +86 -0
- package/dist/themes/palette.d.ts +94 -0
- package/dist/themes/palette.js +24 -0
- package/dist/themes/shadows.d.ts +2 -0
- package/dist/themes/shadows.js +3 -0
- package/dist/themes/themeContext.d.ts +8 -0
- package/dist/themes/themeContext.js +3 -0
- package/dist/themes/typography.d.ts +6 -0
- package/dist/themes/typography.js +8 -0
- package/dist/type/index.d.ts +112 -0
- package/dist/type/index.js +1 -0
- package/dist/types/images.d.ts +19 -0
- package/dist/util/fileDownload.d.ts +16 -0
- package/dist/util/fileDownload.js +268 -0
- package/dist/util/fileHandler.d.ts +7 -0
- package/dist/util/fileHandler.js +79 -0
- package/dist/util/floating.d.ts +2 -0
- package/dist/util/floating.js +22 -0
- package/dist/util/index.d.ts +11 -0
- package/dist/util/index.js +39 -0
- package/dist/util/migrateMathStrings.d.ts +73 -0
- package/dist/util/migrateMathStrings.js +192 -0
- package/dist/util/resourceExtractor.d.ts +15 -0
- package/dist/util/resourceExtractor.js +62 -0
- package/dist/util/shortcutKey.d.ts +2 -0
- package/dist/util/shortcutKey.js +9 -0
- package/package.json +135 -0
package/dist/index.css
ADDED
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
@import url('./asset/css/index.css');
|
|
2
|
+
|
|
3
|
+
.tiptap.ProseMirror {
|
|
4
|
+
overflow-y: auto;
|
|
5
|
+
outline: none;
|
|
6
|
+
color: var(--mui-palette-text-primary);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.tiptap.ProseMirror :first-child {
|
|
10
|
+
margin-top: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.tiptap.ProseMirror p {
|
|
14
|
+
margin-top: 0;
|
|
15
|
+
margin-bottom: 1rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.tiptap.ProseMirror blockquote p {
|
|
19
|
+
margin: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* blockquote */
|
|
23
|
+
.tiptap.ProseMirror blockquote {
|
|
24
|
+
position: relative;
|
|
25
|
+
padding-left: 1.5rem;
|
|
26
|
+
padding-top: 0.375rem;
|
|
27
|
+
padding-bottom: 0.375rem;
|
|
28
|
+
margin: 1rem 0;
|
|
29
|
+
color: var(--mui-palette-text-tertiary);
|
|
30
|
+
background-color: var(--mui-palette-background-paper3);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.tiptap.ProseMirror blockquote::after {
|
|
34
|
+
position: absolute;
|
|
35
|
+
bottom: 0;
|
|
36
|
+
left: 0;
|
|
37
|
+
top: 0;
|
|
38
|
+
height: 100%;
|
|
39
|
+
width: 0.25rem;
|
|
40
|
+
background-color: var(--mui-palette-divider);
|
|
41
|
+
content: '';
|
|
42
|
+
border-radius: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* list */
|
|
46
|
+
.tiptap.ProseMirror ol,
|
|
47
|
+
.tiptap.ProseMirror ul {
|
|
48
|
+
padding: 0 1.5rem;
|
|
49
|
+
margin: 1.25rem 1rem 1.25rem 0.4rem;
|
|
50
|
+
line-height: 2rem;
|
|
51
|
+
list-style: none;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.tiptap.ProseMirror li ol,
|
|
55
|
+
.tiptap.ProseMirror li ul {
|
|
56
|
+
margin: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.tiptap.ProseMirror ol {
|
|
60
|
+
list-style: decimal;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.tiptap.ProseMirror ol ol {
|
|
64
|
+
list-style: lower-alpha;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.tiptap.ProseMirror ol ol ol {
|
|
68
|
+
list-style: lower-roman;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.tiptap.ProseMirror ul:not([data-type='taskList']) {
|
|
72
|
+
list-style-image: url('./asset/images/down.svg');
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.tiptap.ProseMirror ul:not([data-type='taskList']) ul {
|
|
76
|
+
list-style-image: url('./asset/images/down.svg');
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.tiptap.ProseMirror ul:not([data-type='taskList']) ul ul {
|
|
80
|
+
list-style-image: url('./asset/images/down.svg');
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.tiptap.ProseMirror ul[data-type='taskList'] {
|
|
84
|
+
list-style: none;
|
|
85
|
+
margin-left: 0;
|
|
86
|
+
padding: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.tiptap.ProseMirror ul[data-type='taskList'] li {
|
|
90
|
+
align-items: flex-start;
|
|
91
|
+
display: flex;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.tiptap.ProseMirror ul[data-type='taskList'] li > label {
|
|
95
|
+
flex: 0 0 auto;
|
|
96
|
+
margin-right: 0.5rem;
|
|
97
|
+
user-select: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.tiptap.ProseMirror ul[data-type='taskList'] li > div {
|
|
101
|
+
flex: 1 1 auto;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.tiptap.ProseMirror ul[data-type='taskList'] li[data-checked='true'] > div {
|
|
105
|
+
color: var(--mui-palette-text-disabled);
|
|
106
|
+
text-decoration: line-through;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.tiptap.ProseMirror ul[data-type='taskList'] input[type='checkbox'] {
|
|
110
|
+
cursor: pointer;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.tiptap.ProseMirror ul[data-type='taskList'] ul[data-type='taskList'] {
|
|
114
|
+
margin: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.tiptap.ProseMirror ul p,
|
|
118
|
+
.tiptap.ProseMirror ol p {
|
|
119
|
+
margin-top: 0.25rem;
|
|
120
|
+
margin-bottom: 0.25rem;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* code */
|
|
124
|
+
.tiptap.ProseMirror pre {
|
|
125
|
+
position: relative;
|
|
126
|
+
border-radius: var(--mui-shape-borderRadius);
|
|
127
|
+
background-color: var(--mui-palette-background-paper3);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.tiptap.ProseMirror code {
|
|
131
|
+
padding: 0 0.25rem;
|
|
132
|
+
line-height: 1.5rem;
|
|
133
|
+
font-size: inherit;
|
|
134
|
+
word-break: break-all;
|
|
135
|
+
color: var(--mui-palette-primary-main);
|
|
136
|
+
background-color: var(--mui-palette-background-paper3);
|
|
137
|
+
border-radius: var(--mui-shape-borderRadius);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.tiptap.ProseMirror pre code {
|
|
141
|
+
color: inherit;
|
|
142
|
+
padding: 0;
|
|
143
|
+
border-radius: 0;
|
|
144
|
+
background-color: transparent;
|
|
145
|
+
-webkit-text-fill-color: inherit;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* details */
|
|
149
|
+
.tiptap.ProseMirror .cq-details {
|
|
150
|
+
display: flex;
|
|
151
|
+
gap: 0.25rem;
|
|
152
|
+
margin: 0 0 1rem;
|
|
153
|
+
border: 1px solid var(--mui-palette-divider);
|
|
154
|
+
border-radius: var(--mui-shape-borderRadius);
|
|
155
|
+
padding: 0.5rem;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.tiptap.ProseMirror .cq-details summary {
|
|
159
|
+
font-weight: 600;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.tiptap.ProseMirror .cq-details > button {
|
|
163
|
+
cursor: pointer;
|
|
164
|
+
background: transparent;
|
|
165
|
+
border-radius: 4px;
|
|
166
|
+
font-size: 0.625rem;
|
|
167
|
+
border: none;
|
|
168
|
+
width: 1.25rem;
|
|
169
|
+
height: 1.25rem;
|
|
170
|
+
line-height: 1;
|
|
171
|
+
margin-top: 0.1rem;
|
|
172
|
+
padding: 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.tiptap.ProseMirror .cq-details > button:hover {
|
|
176
|
+
background-color: var(--mui-palette-divider);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.tiptap.ProseMirror .cq-details > button::before {
|
|
180
|
+
content: '\25B6';
|
|
181
|
+
width: 100%;
|
|
182
|
+
height: 100%;
|
|
183
|
+
display: flex;
|
|
184
|
+
align-items: center;
|
|
185
|
+
justify-content: center;
|
|
186
|
+
transition: transform 0.2s ease-in-out;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.tiptap.ProseMirror .cq-details.is-open > button::before {
|
|
190
|
+
transform: rotate(90deg);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.tiptap.ProseMirror .cq-details > div {
|
|
194
|
+
display: flex;
|
|
195
|
+
flex-direction: column;
|
|
196
|
+
gap: 1rem;
|
|
197
|
+
width: 100%;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.tiptap.ProseMirror
|
|
201
|
+
.cq-details
|
|
202
|
+
> div
|
|
203
|
+
> [data-type='detailsContent']
|
|
204
|
+
> :last-child {
|
|
205
|
+
margin-bottom: 0.5rem;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.tiptap.ProseMirror .cq-details .cq-details {
|
|
209
|
+
margin: 0.5rem 0;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* emoji */
|
|
213
|
+
.tiptap.ProseMirror [data-type='emoji'] img {
|
|
214
|
+
height: 1rem;
|
|
215
|
+
width: 1rem;
|
|
216
|
+
margin: 0;
|
|
217
|
+
padding: 0;
|
|
218
|
+
border: none;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/* mention */
|
|
222
|
+
.tiptap.ProseMirror .mention {
|
|
223
|
+
background-color: var(--mui-palette-background-paper);
|
|
224
|
+
border-radius: var(--mui-shape-borderRadius);
|
|
225
|
+
box-decoration-break: clone;
|
|
226
|
+
color: var(--mui-palette-primary-main);
|
|
227
|
+
padding: 0.1rem 0.3rem;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/* heading */
|
|
231
|
+
.tiptap.ProseMirror h1,
|
|
232
|
+
.tiptap.ProseMirror h2,
|
|
233
|
+
.tiptap.ProseMirror h3,
|
|
234
|
+
.tiptap.ProseMirror h4,
|
|
235
|
+
.tiptap.ProseMirror h5,
|
|
236
|
+
.tiptap.ProseMirror h6 {
|
|
237
|
+
position: relative;
|
|
238
|
+
color: inherit;
|
|
239
|
+
font-style: inherit;
|
|
240
|
+
padding-bottom: 0.25rem;
|
|
241
|
+
margin: 1.5rem 0;
|
|
242
|
+
border-bottom: 1px solid var(--mui-palette-divider);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.tiptap.ProseMirror h1 {
|
|
246
|
+
font-size: 2.2rem;
|
|
247
|
+
font-weight: 700;
|
|
248
|
+
color: var(--mui-palette-primary-main);
|
|
249
|
+
border-bottom: 2px solid var(--mui-palette-primary-main);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.tiptap.ProseMirror h2 {
|
|
253
|
+
font-size: 1.6rem;
|
|
254
|
+
font-weight: 700;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.tiptap.ProseMirror h3 {
|
|
258
|
+
font-size: 1.2rem;
|
|
259
|
+
font-weight: 600;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.tiptap.ProseMirror h4 {
|
|
263
|
+
font-size: 1rem;
|
|
264
|
+
font-weight: 600;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.tiptap.ProseMirror h5 {
|
|
268
|
+
font-size: 1rem;
|
|
269
|
+
font-weight: 600;
|
|
270
|
+
color: var(--mui-palette-text-secondary);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.tiptap.ProseMirror h6 {
|
|
274
|
+
font-size: 0.9rem;
|
|
275
|
+
font-weight: 600;
|
|
276
|
+
color: var(--mui-palette-text-secondary);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* horizontal rule */
|
|
280
|
+
.tiptap.ProseMirror hr {
|
|
281
|
+
margin: 2rem 0;
|
|
282
|
+
border: none;
|
|
283
|
+
height: 1px;
|
|
284
|
+
background-color: var(--mui-palette-divider);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/* table */
|
|
288
|
+
.tiptap.ProseMirror table {
|
|
289
|
+
border-collapse: collapse;
|
|
290
|
+
margin: calc(var(--mui-spacing-unit) * 2) 0;
|
|
291
|
+
table-layout: fixed;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.tiptap.ProseMirror table td,
|
|
295
|
+
.tiptap.ProseMirror table th {
|
|
296
|
+
border: 1px solid var(--mui-palette-divider);
|
|
297
|
+
box-sizing: border-box;
|
|
298
|
+
min-width: 1rem;
|
|
299
|
+
padding: 0.5rem 0.75rem;
|
|
300
|
+
position: relative;
|
|
301
|
+
vertical-align: top;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.tiptap.ProseMirror table td > *,
|
|
305
|
+
.tiptap.ProseMirror table th > * {
|
|
306
|
+
margin-bottom: 0;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.tiptap.ProseMirror table th {
|
|
310
|
+
background-color: var(--mui-palette-background-paper3);
|
|
311
|
+
font-weight: bold;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/* 表格选择状态 */
|
|
315
|
+
.tiptap.ProseMirror table .selectedCell:after {
|
|
316
|
+
background-color: color-mix(
|
|
317
|
+
in srgb,
|
|
318
|
+
var(--mui-palette-primary-main) 7%,
|
|
319
|
+
transparent
|
|
320
|
+
);
|
|
321
|
+
content: '';
|
|
322
|
+
left: 0;
|
|
323
|
+
right: 0;
|
|
324
|
+
top: 0;
|
|
325
|
+
bottom: 0;
|
|
326
|
+
pointer-events: none;
|
|
327
|
+
position: absolute;
|
|
328
|
+
z-index: 2;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.tiptap.ProseMirror table .column-resize-handle {
|
|
332
|
+
background-color: var(--mui-palette-primary-main);
|
|
333
|
+
bottom: -2px;
|
|
334
|
+
pointer-events: none;
|
|
335
|
+
position: absolute;
|
|
336
|
+
right: -2px;
|
|
337
|
+
top: 0;
|
|
338
|
+
width: 4px;
|
|
339
|
+
z-index: 2;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.tiptap.ProseMirror.resize-cursor {
|
|
343
|
+
cursor: ew-resize;
|
|
344
|
+
cursor: col-resize;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/* youtube */
|
|
348
|
+
.tiptap.ProseMirror div[data-youtube-video] {
|
|
349
|
+
cursor: move;
|
|
350
|
+
padding-right: 1.5rem;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.tiptap.ProseMirror div[data-youtube-video] iframe {
|
|
354
|
+
border: 1px solid var(--mui-palette-divider);
|
|
355
|
+
padding: 0.25rem;
|
|
356
|
+
border-radius: var(--mui-shape-borderRadius);
|
|
357
|
+
display: block;
|
|
358
|
+
min-height: 200px;
|
|
359
|
+
min-width: 200px;
|
|
360
|
+
outline: 0px solid transparent;
|
|
361
|
+
margin-bottom: 1rem;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
@keyframes rotate-icon {
|
|
365
|
+
from {
|
|
366
|
+
transform: rotate(0deg);
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
to {
|
|
370
|
+
transform: rotate(360deg);
|
|
371
|
+
}
|
|
372
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './component/Icons';
|
|
2
|
+
export { default as Editor } from './Editor';
|
|
3
|
+
export { default as EditorThemeProvider } from './EditorThemeProvider';
|
|
4
|
+
export { default as EditorToolbar } from './EditorToolbar';
|
|
5
|
+
export { default as useTiptap } from './hook';
|
|
6
|
+
export { useFn } from './hook/fn';
|
|
7
|
+
export * from './type';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./component/Icons";
|
|
2
|
+
export { default as Editor } from "./Editor";
|
|
3
|
+
export { default as EditorThemeProvider } from "./EditorThemeProvider";
|
|
4
|
+
export { default as EditorToolbar } from "./EditorToolbar";
|
|
5
|
+
export { default as useTiptap } from "./hook";
|
|
6
|
+
export { useFn } from "./hook/fn";
|
|
7
|
+
export * from "./type";
|