@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
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
var _NODE_TYPE_LABEL;
|
|
2
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
3
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
5
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
|
+
export var NodeTypeEnum = /*#__PURE__*/function (NodeTypeEnum) {
|
|
7
|
+
NodeTypeEnum["BlockAttachment"] = "blockAttachment";
|
|
8
|
+
NodeTypeEnum["InlineAttachment"] = "inlineAttachment";
|
|
9
|
+
NodeTypeEnum["Paragraph"] = "paragraph";
|
|
10
|
+
NodeTypeEnum["Heading"] = "heading";
|
|
11
|
+
NodeTypeEnum["BulletList"] = "bulletList";
|
|
12
|
+
NodeTypeEnum["OrderedList"] = "orderedList";
|
|
13
|
+
NodeTypeEnum["TaskList"] = "taskList";
|
|
14
|
+
NodeTypeEnum["Blockquote"] = "blockquote";
|
|
15
|
+
NodeTypeEnum["CodeBlock"] = "codeBlock";
|
|
16
|
+
NodeTypeEnum["HorizontalRule"] = "horizontalRule";
|
|
17
|
+
NodeTypeEnum["Details"] = "details";
|
|
18
|
+
NodeTypeEnum["Table"] = "table";
|
|
19
|
+
NodeTypeEnum["Image"] = "image";
|
|
20
|
+
NodeTypeEnum["Video"] = "video";
|
|
21
|
+
NodeTypeEnum["Audio"] = "audio";
|
|
22
|
+
NodeTypeEnum["Link"] = "link";
|
|
23
|
+
NodeTypeEnum["Code"] = "code";
|
|
24
|
+
NodeTypeEnum["InlineMath"] = "inlineMath";
|
|
25
|
+
NodeTypeEnum["BlockMath"] = "blockMath";
|
|
26
|
+
return NodeTypeEnum;
|
|
27
|
+
}({});
|
|
28
|
+
export var NODE_TYPE_LABEL = (_NODE_TYPE_LABEL = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_NODE_TYPE_LABEL, NodeTypeEnum.Paragraph, {
|
|
29
|
+
label: '文本',
|
|
30
|
+
color: true,
|
|
31
|
+
fontSize: true,
|
|
32
|
+
align: true,
|
|
33
|
+
convert: true
|
|
34
|
+
}), NodeTypeEnum.Heading, {
|
|
35
|
+
label: '标题',
|
|
36
|
+
color: true,
|
|
37
|
+
fontSize: true,
|
|
38
|
+
align: true,
|
|
39
|
+
convert: true
|
|
40
|
+
}), NodeTypeEnum.BulletList, {
|
|
41
|
+
label: '无序列表',
|
|
42
|
+
color: true,
|
|
43
|
+
fontSize: true,
|
|
44
|
+
align: true,
|
|
45
|
+
convert: true
|
|
46
|
+
}), NodeTypeEnum.OrderedList, {
|
|
47
|
+
label: '有序列表',
|
|
48
|
+
color: true,
|
|
49
|
+
fontSize: true,
|
|
50
|
+
align: true,
|
|
51
|
+
convert: true
|
|
52
|
+
}), NodeTypeEnum.TaskList, {
|
|
53
|
+
label: '任务列表',
|
|
54
|
+
color: true,
|
|
55
|
+
fontSize: true,
|
|
56
|
+
align: true,
|
|
57
|
+
convert: true
|
|
58
|
+
}), NodeTypeEnum.Blockquote, {
|
|
59
|
+
label: '引用块',
|
|
60
|
+
color: true,
|
|
61
|
+
fontSize: true,
|
|
62
|
+
align: true,
|
|
63
|
+
convert: true
|
|
64
|
+
}), NodeTypeEnum.CodeBlock, {
|
|
65
|
+
label: '代码块',
|
|
66
|
+
convert: true
|
|
67
|
+
}), NodeTypeEnum.Details, {
|
|
68
|
+
label: '折叠块',
|
|
69
|
+
align: true
|
|
70
|
+
}), NodeTypeEnum.BlockMath, {
|
|
71
|
+
label: '块公式'
|
|
72
|
+
}), NodeTypeEnum.Table, {
|
|
73
|
+
label: '表格',
|
|
74
|
+
color: true,
|
|
75
|
+
fontSize: true,
|
|
76
|
+
align: true
|
|
77
|
+
}), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_NODE_TYPE_LABEL, NodeTypeEnum.Video, {
|
|
78
|
+
label: '视频',
|
|
79
|
+
download: true
|
|
80
|
+
}), NodeTypeEnum.Audio, {
|
|
81
|
+
label: '音频',
|
|
82
|
+
download: true
|
|
83
|
+
}), NodeTypeEnum.BlockAttachment, {
|
|
84
|
+
label: '附件',
|
|
85
|
+
download: true
|
|
86
|
+
}), NodeTypeEnum.Code, {
|
|
87
|
+
label: '代码'
|
|
88
|
+
}), NodeTypeEnum.Link, {
|
|
89
|
+
label: '链接'
|
|
90
|
+
}), NodeTypeEnum.Image, {
|
|
91
|
+
label: '图片'
|
|
92
|
+
}), NodeTypeEnum.InlineMath, {
|
|
93
|
+
label: '行内公式'
|
|
94
|
+
}), NodeTypeEnum.InlineAttachment, {
|
|
95
|
+
label: '附件'
|
|
96
|
+
}), NodeTypeEnum.HorizontalRule, {
|
|
97
|
+
label: '分割线'
|
|
98
|
+
}));
|
|
@@ -0,0 +1,580 @@
|
|
|
1
|
+
export var languages = [{
|
|
2
|
+
value: 'auto',
|
|
3
|
+
label: 'Auto'
|
|
4
|
+
}, {
|
|
5
|
+
value: 'plaintext',
|
|
6
|
+
label: 'Plain Text'
|
|
7
|
+
}, {
|
|
8
|
+
value: '1c',
|
|
9
|
+
label: '1C'
|
|
10
|
+
}, {
|
|
11
|
+
value: 'abnf',
|
|
12
|
+
label: 'ABNF'
|
|
13
|
+
}, {
|
|
14
|
+
value: 'accesslog',
|
|
15
|
+
label: 'Access Log'
|
|
16
|
+
}, {
|
|
17
|
+
value: 'actionscript',
|
|
18
|
+
label: 'ActionScript'
|
|
19
|
+
}, {
|
|
20
|
+
value: 'ada',
|
|
21
|
+
label: 'Ada'
|
|
22
|
+
}, {
|
|
23
|
+
value: 'angelscript',
|
|
24
|
+
label: 'AngelScript'
|
|
25
|
+
}, {
|
|
26
|
+
value: 'apache',
|
|
27
|
+
label: 'Apache'
|
|
28
|
+
}, {
|
|
29
|
+
value: 'applescript',
|
|
30
|
+
label: 'AppleScript'
|
|
31
|
+
}, {
|
|
32
|
+
value: 'arcade',
|
|
33
|
+
label: 'Arcade'
|
|
34
|
+
}, {
|
|
35
|
+
value: 'arduino',
|
|
36
|
+
label: 'Arduino'
|
|
37
|
+
}, {
|
|
38
|
+
value: 'armasm',
|
|
39
|
+
label: 'ARM Assembly'
|
|
40
|
+
}, {
|
|
41
|
+
value: 'xml',
|
|
42
|
+
label: 'XML'
|
|
43
|
+
}, {
|
|
44
|
+
value: 'asciidoc',
|
|
45
|
+
label: 'AsciiDoc'
|
|
46
|
+
}, {
|
|
47
|
+
value: 'aspectj',
|
|
48
|
+
label: 'AspectJ'
|
|
49
|
+
}, {
|
|
50
|
+
value: 'autohotkey',
|
|
51
|
+
label: 'AutoHotkey'
|
|
52
|
+
}, {
|
|
53
|
+
value: 'autoit',
|
|
54
|
+
label: 'AutoIt'
|
|
55
|
+
}, {
|
|
56
|
+
value: 'avrasm',
|
|
57
|
+
label: 'AVR Assembly'
|
|
58
|
+
}, {
|
|
59
|
+
value: 'awk',
|
|
60
|
+
label: 'AWK'
|
|
61
|
+
}, {
|
|
62
|
+
value: 'axapta',
|
|
63
|
+
label: 'Axapta'
|
|
64
|
+
}, {
|
|
65
|
+
value: 'bash',
|
|
66
|
+
label: 'Bash'
|
|
67
|
+
}, {
|
|
68
|
+
value: 'basic',
|
|
69
|
+
label: 'BASIC'
|
|
70
|
+
}, {
|
|
71
|
+
value: 'bnf',
|
|
72
|
+
label: 'BNF'
|
|
73
|
+
}, {
|
|
74
|
+
value: 'brainfuck',
|
|
75
|
+
label: 'Brainfuck'
|
|
76
|
+
}, {
|
|
77
|
+
value: 'c',
|
|
78
|
+
label: 'C'
|
|
79
|
+
}, {
|
|
80
|
+
value: 'cal',
|
|
81
|
+
label: 'CAL'
|
|
82
|
+
}, {
|
|
83
|
+
value: 'capnproto',
|
|
84
|
+
label: 'Cap\'n Proto'
|
|
85
|
+
}, {
|
|
86
|
+
value: 'ceylon',
|
|
87
|
+
label: 'Ceylon'
|
|
88
|
+
}, {
|
|
89
|
+
value: 'clean',
|
|
90
|
+
label: 'Clean'
|
|
91
|
+
}, {
|
|
92
|
+
value: 'clojure',
|
|
93
|
+
label: 'Clojure'
|
|
94
|
+
}, {
|
|
95
|
+
value: 'clojure-repl',
|
|
96
|
+
label: 'Clojure REPL'
|
|
97
|
+
}, {
|
|
98
|
+
value: 'cmake',
|
|
99
|
+
label: 'CMake'
|
|
100
|
+
}, {
|
|
101
|
+
value: 'coffeescript',
|
|
102
|
+
label: 'CoffeeScript'
|
|
103
|
+
}, {
|
|
104
|
+
value: 'coq',
|
|
105
|
+
label: 'Coq'
|
|
106
|
+
}, {
|
|
107
|
+
value: 'cos',
|
|
108
|
+
label: 'COS'
|
|
109
|
+
}, {
|
|
110
|
+
value: 'cpp',
|
|
111
|
+
label: 'C++'
|
|
112
|
+
}, {
|
|
113
|
+
value: 'crmsh',
|
|
114
|
+
label: 'crmsh'
|
|
115
|
+
}, {
|
|
116
|
+
value: 'crystal',
|
|
117
|
+
label: 'Crystal'
|
|
118
|
+
}, {
|
|
119
|
+
value: 'csharp',
|
|
120
|
+
label: 'C#'
|
|
121
|
+
}, {
|
|
122
|
+
value: 'csp',
|
|
123
|
+
label: 'CSP'
|
|
124
|
+
}, {
|
|
125
|
+
value: 'css',
|
|
126
|
+
label: 'CSS'
|
|
127
|
+
}, {
|
|
128
|
+
value: 'd',
|
|
129
|
+
label: 'D'
|
|
130
|
+
}, {
|
|
131
|
+
value: 'markdown',
|
|
132
|
+
label: 'Markdown'
|
|
133
|
+
}, {
|
|
134
|
+
value: 'dart',
|
|
135
|
+
label: 'Dart'
|
|
136
|
+
}, {
|
|
137
|
+
value: 'delphi',
|
|
138
|
+
label: 'Delphi'
|
|
139
|
+
}, {
|
|
140
|
+
value: 'diff',
|
|
141
|
+
label: 'Diff'
|
|
142
|
+
}, {
|
|
143
|
+
value: 'django',
|
|
144
|
+
label: 'Django'
|
|
145
|
+
}, {
|
|
146
|
+
value: 'dns',
|
|
147
|
+
label: 'DNS Zone'
|
|
148
|
+
}, {
|
|
149
|
+
value: 'dockerfile',
|
|
150
|
+
label: 'Dockerfile'
|
|
151
|
+
}, {
|
|
152
|
+
value: 'dos',
|
|
153
|
+
label: 'DOS'
|
|
154
|
+
}, {
|
|
155
|
+
value: 'dsconfig',
|
|
156
|
+
label: 'dsconfig'
|
|
157
|
+
}, {
|
|
158
|
+
value: 'dts',
|
|
159
|
+
label: 'DTS'
|
|
160
|
+
}, {
|
|
161
|
+
value: 'dust',
|
|
162
|
+
label: 'Dust'
|
|
163
|
+
}, {
|
|
164
|
+
value: 'ebnf',
|
|
165
|
+
label: 'EBNF'
|
|
166
|
+
}, {
|
|
167
|
+
value: 'elixir',
|
|
168
|
+
label: 'Elixir'
|
|
169
|
+
}, {
|
|
170
|
+
value: 'elm',
|
|
171
|
+
label: 'Elm'
|
|
172
|
+
}, {
|
|
173
|
+
value: 'ruby',
|
|
174
|
+
label: 'Ruby'
|
|
175
|
+
}, {
|
|
176
|
+
value: 'erb',
|
|
177
|
+
label: 'ERB'
|
|
178
|
+
}, {
|
|
179
|
+
value: 'erlang-repl',
|
|
180
|
+
label: 'Erlang REPL'
|
|
181
|
+
}, {
|
|
182
|
+
value: 'erlang',
|
|
183
|
+
label: 'Erlang'
|
|
184
|
+
}, {
|
|
185
|
+
value: 'excel',
|
|
186
|
+
label: 'Excel'
|
|
187
|
+
}, {
|
|
188
|
+
value: 'fix',
|
|
189
|
+
label: 'FIX'
|
|
190
|
+
}, {
|
|
191
|
+
value: 'flix',
|
|
192
|
+
label: 'Flix'
|
|
193
|
+
}, {
|
|
194
|
+
value: 'fortran',
|
|
195
|
+
label: 'Fortran'
|
|
196
|
+
}, {
|
|
197
|
+
value: 'fsharp',
|
|
198
|
+
label: 'F#'
|
|
199
|
+
}, {
|
|
200
|
+
value: 'gams',
|
|
201
|
+
label: 'GAMS'
|
|
202
|
+
}, {
|
|
203
|
+
value: 'gauss',
|
|
204
|
+
label: 'GAUSS'
|
|
205
|
+
}, {
|
|
206
|
+
value: 'gcode',
|
|
207
|
+
label: 'G-code'
|
|
208
|
+
}, {
|
|
209
|
+
value: 'gherkin',
|
|
210
|
+
label: 'Gherkin'
|
|
211
|
+
}, {
|
|
212
|
+
value: 'glsl',
|
|
213
|
+
label: 'GLSL'
|
|
214
|
+
}, {
|
|
215
|
+
value: 'gml',
|
|
216
|
+
label: 'GML'
|
|
217
|
+
}, {
|
|
218
|
+
value: 'go',
|
|
219
|
+
label: 'Go'
|
|
220
|
+
}, {
|
|
221
|
+
value: 'golo',
|
|
222
|
+
label: 'Golo'
|
|
223
|
+
}, {
|
|
224
|
+
value: 'gradle',
|
|
225
|
+
label: 'Gradle'
|
|
226
|
+
}, {
|
|
227
|
+
value: 'graphql',
|
|
228
|
+
label: 'GraphQL'
|
|
229
|
+
}, {
|
|
230
|
+
value: 'groovy',
|
|
231
|
+
label: 'Groovy'
|
|
232
|
+
}, {
|
|
233
|
+
value: 'haml',
|
|
234
|
+
label: 'Haml'
|
|
235
|
+
}, {
|
|
236
|
+
value: 'handlebars',
|
|
237
|
+
label: 'Handlebars'
|
|
238
|
+
}, {
|
|
239
|
+
value: 'haskell',
|
|
240
|
+
label: 'Haskell'
|
|
241
|
+
}, {
|
|
242
|
+
value: 'haxe',
|
|
243
|
+
label: 'Haxe'
|
|
244
|
+
}, {
|
|
245
|
+
value: 'hsp',
|
|
246
|
+
label: 'HSP'
|
|
247
|
+
}, {
|
|
248
|
+
value: 'http',
|
|
249
|
+
label: 'HTTP'
|
|
250
|
+
}, {
|
|
251
|
+
value: 'hy',
|
|
252
|
+
label: 'Hy'
|
|
253
|
+
}, {
|
|
254
|
+
value: 'inform7',
|
|
255
|
+
label: 'Inform 7'
|
|
256
|
+
}, {
|
|
257
|
+
value: 'ini',
|
|
258
|
+
label: 'INI'
|
|
259
|
+
}, {
|
|
260
|
+
value: 'irpf90',
|
|
261
|
+
label: 'IRPF90'
|
|
262
|
+
}, {
|
|
263
|
+
value: 'isbl',
|
|
264
|
+
label: 'ISBL'
|
|
265
|
+
}, {
|
|
266
|
+
value: 'java',
|
|
267
|
+
label: 'Java'
|
|
268
|
+
}, {
|
|
269
|
+
value: 'javascript',
|
|
270
|
+
label: 'JavaScript'
|
|
271
|
+
}, {
|
|
272
|
+
value: 'jboss-cli',
|
|
273
|
+
label: 'JBoss CLI'
|
|
274
|
+
}, {
|
|
275
|
+
value: 'json',
|
|
276
|
+
label: 'JSON'
|
|
277
|
+
}, {
|
|
278
|
+
value: 'julia',
|
|
279
|
+
label: 'Julia'
|
|
280
|
+
}, {
|
|
281
|
+
value: 'julia-repl',
|
|
282
|
+
label: 'Julia REPL'
|
|
283
|
+
}, {
|
|
284
|
+
value: 'kotlin',
|
|
285
|
+
label: 'Kotlin'
|
|
286
|
+
}, {
|
|
287
|
+
value: 'lasso',
|
|
288
|
+
label: 'Lasso'
|
|
289
|
+
}, {
|
|
290
|
+
value: 'latex',
|
|
291
|
+
label: 'LaTeX'
|
|
292
|
+
}, {
|
|
293
|
+
value: 'ldif',
|
|
294
|
+
label: 'LDIF'
|
|
295
|
+
}, {
|
|
296
|
+
value: 'leaf',
|
|
297
|
+
label: 'Leaf'
|
|
298
|
+
}, {
|
|
299
|
+
value: 'less',
|
|
300
|
+
label: 'Less'
|
|
301
|
+
}, {
|
|
302
|
+
value: 'lisp',
|
|
303
|
+
label: 'Lisp'
|
|
304
|
+
}, {
|
|
305
|
+
value: 'livecodeserver',
|
|
306
|
+
label: 'LiveCode Server'
|
|
307
|
+
}, {
|
|
308
|
+
value: 'livescript',
|
|
309
|
+
label: 'LiveScript'
|
|
310
|
+
}, {
|
|
311
|
+
value: 'llvm',
|
|
312
|
+
label: 'LLVM'
|
|
313
|
+
}, {
|
|
314
|
+
value: 'lsl',
|
|
315
|
+
label: 'LSL'
|
|
316
|
+
}, {
|
|
317
|
+
value: 'lua',
|
|
318
|
+
label: 'Lua'
|
|
319
|
+
}, {
|
|
320
|
+
value: 'makefile',
|
|
321
|
+
label: 'Makefile'
|
|
322
|
+
}, {
|
|
323
|
+
value: 'mathematica',
|
|
324
|
+
label: 'Mathematica'
|
|
325
|
+
}, {
|
|
326
|
+
value: 'matlab',
|
|
327
|
+
label: 'MATLAB'
|
|
328
|
+
}, {
|
|
329
|
+
value: 'maxima',
|
|
330
|
+
label: 'Maxima'
|
|
331
|
+
}, {
|
|
332
|
+
value: 'mel',
|
|
333
|
+
label: 'MEL'
|
|
334
|
+
}, {
|
|
335
|
+
value: 'mercury',
|
|
336
|
+
label: 'Mercury'
|
|
337
|
+
}, {
|
|
338
|
+
value: 'mipsasm',
|
|
339
|
+
label: 'MIPS Assembly'
|
|
340
|
+
}, {
|
|
341
|
+
value: 'mizar',
|
|
342
|
+
label: 'Mizar'
|
|
343
|
+
}, {
|
|
344
|
+
value: 'perl',
|
|
345
|
+
label: 'Perl'
|
|
346
|
+
}, {
|
|
347
|
+
value: 'mojolicious',
|
|
348
|
+
label: 'Mojolicious'
|
|
349
|
+
}, {
|
|
350
|
+
value: 'monkey',
|
|
351
|
+
label: 'Monkey'
|
|
352
|
+
}, {
|
|
353
|
+
value: 'moonscript',
|
|
354
|
+
label: 'MoonScript'
|
|
355
|
+
}, {
|
|
356
|
+
value: 'n1ql',
|
|
357
|
+
label: 'N1QL'
|
|
358
|
+
}, {
|
|
359
|
+
value: 'nestedtext',
|
|
360
|
+
label: 'NestedText'
|
|
361
|
+
}, {
|
|
362
|
+
value: 'nginx',
|
|
363
|
+
label: 'Nginx'
|
|
364
|
+
}, {
|
|
365
|
+
value: 'nim',
|
|
366
|
+
label: 'Nim'
|
|
367
|
+
}, {
|
|
368
|
+
value: 'nix',
|
|
369
|
+
label: 'Nix'
|
|
370
|
+
}, {
|
|
371
|
+
value: 'node-repl',
|
|
372
|
+
label: 'Node.js REPL'
|
|
373
|
+
}, {
|
|
374
|
+
value: 'nsis',
|
|
375
|
+
label: 'NSIS'
|
|
376
|
+
}, {
|
|
377
|
+
value: 'objectivec',
|
|
378
|
+
label: 'Objective-C'
|
|
379
|
+
}, {
|
|
380
|
+
value: 'ocaml',
|
|
381
|
+
label: 'OCaml'
|
|
382
|
+
}, {
|
|
383
|
+
value: 'openscad',
|
|
384
|
+
label: 'OpenSCAD'
|
|
385
|
+
}, {
|
|
386
|
+
value: 'oxygene',
|
|
387
|
+
label: 'Oxygene'
|
|
388
|
+
}, {
|
|
389
|
+
value: 'parser3',
|
|
390
|
+
label: 'Parser3'
|
|
391
|
+
}, {
|
|
392
|
+
value: 'pf',
|
|
393
|
+
label: 'PF'
|
|
394
|
+
}, {
|
|
395
|
+
value: 'pgsql',
|
|
396
|
+
label: 'PostgreSQL'
|
|
397
|
+
}, {
|
|
398
|
+
value: 'php',
|
|
399
|
+
label: 'PHP'
|
|
400
|
+
}, {
|
|
401
|
+
value: 'php-template',
|
|
402
|
+
label: 'PHP Template'
|
|
403
|
+
}, {
|
|
404
|
+
value: 'pony',
|
|
405
|
+
label: 'Pony'
|
|
406
|
+
}, {
|
|
407
|
+
value: 'powershell',
|
|
408
|
+
label: 'PowerShell'
|
|
409
|
+
}, {
|
|
410
|
+
value: 'processing',
|
|
411
|
+
label: 'Processing'
|
|
412
|
+
}, {
|
|
413
|
+
value: 'profile',
|
|
414
|
+
label: 'Profile'
|
|
415
|
+
}, {
|
|
416
|
+
value: 'prolog',
|
|
417
|
+
label: 'Prolog'
|
|
418
|
+
}, {
|
|
419
|
+
value: 'properties',
|
|
420
|
+
label: 'Properties'
|
|
421
|
+
}, {
|
|
422
|
+
value: 'protobuf',
|
|
423
|
+
label: 'Protocol Buffers'
|
|
424
|
+
}, {
|
|
425
|
+
value: 'puppet',
|
|
426
|
+
label: 'Puppet'
|
|
427
|
+
}, {
|
|
428
|
+
value: 'purebasic',
|
|
429
|
+
label: 'PureBasic'
|
|
430
|
+
}, {
|
|
431
|
+
value: 'python',
|
|
432
|
+
label: 'Python'
|
|
433
|
+
}, {
|
|
434
|
+
value: 'python-repl',
|
|
435
|
+
label: 'Python REPL'
|
|
436
|
+
}, {
|
|
437
|
+
value: 'q',
|
|
438
|
+
label: 'Q'
|
|
439
|
+
}, {
|
|
440
|
+
value: 'qml',
|
|
441
|
+
label: 'QML'
|
|
442
|
+
}, {
|
|
443
|
+
value: 'r',
|
|
444
|
+
label: 'R'
|
|
445
|
+
}, {
|
|
446
|
+
value: 'reasonml',
|
|
447
|
+
label: 'ReasonML'
|
|
448
|
+
}, {
|
|
449
|
+
value: 'rib',
|
|
450
|
+
label: 'RIB'
|
|
451
|
+
}, {
|
|
452
|
+
value: 'roboconf',
|
|
453
|
+
label: 'Roboconf'
|
|
454
|
+
}, {
|
|
455
|
+
value: 'routeros',
|
|
456
|
+
label: 'RouterOS'
|
|
457
|
+
}, {
|
|
458
|
+
value: 'rsl',
|
|
459
|
+
label: 'RSL'
|
|
460
|
+
}, {
|
|
461
|
+
value: 'ruleslanguage',
|
|
462
|
+
label: 'Rules Language'
|
|
463
|
+
}, {
|
|
464
|
+
value: 'rust',
|
|
465
|
+
label: 'Rust'
|
|
466
|
+
}, {
|
|
467
|
+
value: 'sas',
|
|
468
|
+
label: 'SAS'
|
|
469
|
+
}, {
|
|
470
|
+
value: 'scala',
|
|
471
|
+
label: 'Scala'
|
|
472
|
+
}, {
|
|
473
|
+
value: 'scheme',
|
|
474
|
+
label: 'Scheme'
|
|
475
|
+
}, {
|
|
476
|
+
value: 'scilab',
|
|
477
|
+
label: 'Scilab'
|
|
478
|
+
}, {
|
|
479
|
+
value: 'scss',
|
|
480
|
+
label: 'SCSS'
|
|
481
|
+
}, {
|
|
482
|
+
value: 'shell',
|
|
483
|
+
label: 'Shell'
|
|
484
|
+
}, {
|
|
485
|
+
value: 'smali',
|
|
486
|
+
label: 'Smali'
|
|
487
|
+
}, {
|
|
488
|
+
value: 'smalltalk',
|
|
489
|
+
label: 'Smalltalk'
|
|
490
|
+
}, {
|
|
491
|
+
value: 'sml',
|
|
492
|
+
label: 'SML'
|
|
493
|
+
}, {
|
|
494
|
+
value: 'sqf',
|
|
495
|
+
label: 'SQF'
|
|
496
|
+
}, {
|
|
497
|
+
value: 'sql',
|
|
498
|
+
label: 'SQL'
|
|
499
|
+
}, {
|
|
500
|
+
value: 'stan',
|
|
501
|
+
label: 'Stan'
|
|
502
|
+
}, {
|
|
503
|
+
value: 'stata',
|
|
504
|
+
label: 'Stata'
|
|
505
|
+
}, {
|
|
506
|
+
value: 'step21',
|
|
507
|
+
label: 'STEP Part 21'
|
|
508
|
+
}, {
|
|
509
|
+
value: 'stylus',
|
|
510
|
+
label: 'Stylus'
|
|
511
|
+
}, {
|
|
512
|
+
value: 'subunit',
|
|
513
|
+
label: 'SubUnit'
|
|
514
|
+
}, {
|
|
515
|
+
value: 'swift',
|
|
516
|
+
label: 'Swift'
|
|
517
|
+
}, {
|
|
518
|
+
value: 'taggerscript',
|
|
519
|
+
label: 'Tagger Script'
|
|
520
|
+
}, {
|
|
521
|
+
value: 'yaml',
|
|
522
|
+
label: 'YAML'
|
|
523
|
+
}, {
|
|
524
|
+
value: 'tap',
|
|
525
|
+
label: 'TAP'
|
|
526
|
+
}, {
|
|
527
|
+
value: 'tcl',
|
|
528
|
+
label: 'Tcl'
|
|
529
|
+
}, {
|
|
530
|
+
value: 'thrift',
|
|
531
|
+
label: 'Thrift'
|
|
532
|
+
}, {
|
|
533
|
+
value: 'tp',
|
|
534
|
+
label: 'TP'
|
|
535
|
+
}, {
|
|
536
|
+
value: 'twig',
|
|
537
|
+
label: 'Twig'
|
|
538
|
+
}, {
|
|
539
|
+
value: 'typescript',
|
|
540
|
+
label: 'TypeScript'
|
|
541
|
+
}, {
|
|
542
|
+
value: 'vala',
|
|
543
|
+
label: 'Vala'
|
|
544
|
+
}, {
|
|
545
|
+
value: 'vbnet',
|
|
546
|
+
label: 'VB.NET'
|
|
547
|
+
}, {
|
|
548
|
+
value: 'vbscript',
|
|
549
|
+
label: 'VBScript'
|
|
550
|
+
}, {
|
|
551
|
+
value: 'vbscript-html',
|
|
552
|
+
label: 'VBScript in HTML'
|
|
553
|
+
}, {
|
|
554
|
+
value: 'verilog',
|
|
555
|
+
label: 'Verilog'
|
|
556
|
+
}, {
|
|
557
|
+
value: 'vhdl',
|
|
558
|
+
label: 'VHDL'
|
|
559
|
+
}, {
|
|
560
|
+
value: 'vim',
|
|
561
|
+
label: 'Vim Script'
|
|
562
|
+
}, {
|
|
563
|
+
value: 'wasm',
|
|
564
|
+
label: 'WebAssembly'
|
|
565
|
+
}, {
|
|
566
|
+
value: 'wren',
|
|
567
|
+
label: 'Wren'
|
|
568
|
+
}, {
|
|
569
|
+
value: 'x86asm',
|
|
570
|
+
label: 'x86 Assembly'
|
|
571
|
+
}, {
|
|
572
|
+
value: 'xl',
|
|
573
|
+
label: 'XL'
|
|
574
|
+
}, {
|
|
575
|
+
value: 'xquery',
|
|
576
|
+
label: 'XQuery'
|
|
577
|
+
}, {
|
|
578
|
+
value: 'zephir',
|
|
579
|
+
label: 'Zephir'
|
|
580
|
+
}];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const PLACEHOLDER: {
|
|
2
|
+
heading: {
|
|
3
|
+
1: string;
|
|
4
|
+
2: string;
|
|
5
|
+
3: string;
|
|
6
|
+
4: string;
|
|
7
|
+
5: string;
|
|
8
|
+
6: string;
|
|
9
|
+
};
|
|
10
|
+
orderedList: string;
|
|
11
|
+
bulletList: string;
|
|
12
|
+
taskList: string;
|
|
13
|
+
blockquote: string;
|
|
14
|
+
paragraph: string;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export var PLACEHOLDER = {
|
|
2
|
+
heading: {
|
|
3
|
+
1: '一级标题',
|
|
4
|
+
2: '二级标题',
|
|
5
|
+
3: '三级标题',
|
|
6
|
+
4: '四级标题',
|
|
7
|
+
5: '五级标题',
|
|
8
|
+
6: '六级标题'
|
|
9
|
+
},
|
|
10
|
+
orderedList: '列表',
|
|
11
|
+
bulletList: '列表',
|
|
12
|
+
taskList: '列表',
|
|
13
|
+
blockquote: '引用',
|
|
14
|
+
paragraph: '输入 "/" 插入内容',
|
|
15
|
+
default: '写点什么吧,输入 "/" 插入内容'
|
|
16
|
+
};
|