@remarkablejames/editor 0.0.1
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 +62 -0
- package/lib/ActionMenuButton-B0EHT9CC.js +35 -0
- package/lib/ActionMenuButton-J1el_e6Z.cjs +1 -0
- package/lib/Attachment.cjs +19 -0
- package/lib/Attachment.js +273 -0
- package/lib/Blockquote.cjs +5 -0
- package/lib/Blockquote.js +107 -0
- package/lib/Bold.cjs +1 -0
- package/lib/Bold.js +123 -0
- package/lib/BulletList.cjs +1 -0
- package/lib/BulletList.js +53 -0
- package/lib/Callout.cjs +1 -0
- package/lib/Callout.js +225 -0
- package/lib/Clear.cjs +1 -0
- package/lib/Clear.js +49 -0
- package/lib/Code.cjs +1 -0
- package/lib/Code.js +100 -0
- package/lib/CodeBlock.cjs +44 -0
- package/lib/CodeBlock.js +4065 -0
- package/lib/CodeView.cjs +1 -0
- package/lib/CodeView.js +81 -0
- package/lib/Color.cjs +1 -0
- package/lib/Color.js +134 -0
- package/lib/Column.cjs +1 -0
- package/lib/Column.js +230 -0
- package/lib/Drawer-BCWVN-4l.js +1125 -0
- package/lib/Drawer-BTouEroZ.cjs +2 -0
- package/lib/Drawer.cjs +1 -0
- package/lib/Drawer.js +7 -0
- package/lib/Emoji.cjs +1 -0
- package/lib/Emoji.js +19888 -0
- package/lib/Excalidraw.cjs +1 -0
- package/lib/Excalidraw.js +276 -0
- package/lib/ExportPdf.cjs +39 -0
- package/lib/ExportPdf.js +142 -0
- package/lib/ExportWord.cjs +1 -0
- package/lib/ExportWord.js +107 -0
- package/lib/FontFamily.cjs +1 -0
- package/lib/FontFamily.js +84 -0
- package/lib/FontSize.cjs +1 -0
- package/lib/FontSize.js +106 -0
- package/lib/Heading.cjs +1 -0
- package/lib/Heading.js +167 -0
- package/lib/Highlight.cjs +1 -0
- package/lib/Highlight.js +203 -0
- package/lib/History.cjs +1 -0
- package/lib/History.js +990 -0
- package/lib/HorizontalRule.cjs +1 -0
- package/lib/HorizontalRule.js +118 -0
- package/lib/Iframe-BdgiWGml.js +416 -0
- package/lib/Iframe-BfBLILDA.cjs +1 -0
- package/lib/Iframe.cjs +1 -0
- package/lib/Iframe.js +7 -0
- package/lib/Image.cjs +1 -0
- package/lib/Image.js +6 -0
- package/lib/ImageGif.cjs +1 -0
- package/lib/ImageGif.js +400 -0
- package/lib/ImportWord.cjs +1 -0
- package/lib/ImportWord.js +145 -0
- package/lib/Indent-BpMcZKok.js +148 -0
- package/lib/Indent-Dvqz_WEn.cjs +1 -0
- package/lib/Indent.cjs +1 -0
- package/lib/Indent.js +6 -0
- package/lib/Italic.cjs +1 -0
- package/lib/Italic.js +123 -0
- package/lib/Katex-B8_uprkO.js +2753 -0
- package/lib/Katex-BQyeCeQ0.cjs +4 -0
- package/lib/Katex.cjs +1 -0
- package/lib/Katex.js +6 -0
- package/lib/LineHeight.cjs +1 -0
- package/lib/LineHeight.js +89 -0
- package/lib/Link.cjs +1 -0
- package/lib/Link.js +6 -0
- package/lib/LinkEditBlock-BX0fXXpF.js +1185 -0
- package/lib/LinkEditBlock-CIshn_8F.cjs +5 -0
- package/lib/Mention.cjs +1 -0
- package/lib/Mention.js +265 -0
- package/lib/Mermaid-0GiGVxn0.cjs +2 -0
- package/lib/Mermaid-D8bbIgAl.js +381 -0
- package/lib/Mermaid.cjs +1 -0
- package/lib/Mermaid.js +7 -0
- package/lib/MoreMark.cjs +1 -0
- package/lib/MoreMark.js +157 -0
- package/lib/OrderedList.cjs +1 -0
- package/lib/OrderedList.js +52 -0
- package/lib/SearchAndReplace.cjs +1 -0
- package/lib/SearchAndReplace.js +305 -0
- package/lib/SlashCommand.cjs +1 -0
- package/lib/SlashCommand.js +90 -0
- package/lib/SlashCommandNodeView-BcmtKbEE.js +249 -0
- package/lib/SlashCommandNodeView-rDJ7OjRd.cjs +1 -0
- package/lib/Strike.cjs +1 -0
- package/lib/Strike.js +112 -0
- package/lib/Table-BEhNBeuA.cjs +5 -0
- package/lib/Table-DbxuP5xh.js +1939 -0
- package/lib/Table.cjs +1 -0
- package/lib/Table.js +5 -0
- package/lib/TaskList.cjs +1 -0
- package/lib/TaskList.js +63 -0
- package/lib/TextAlign.cjs +1 -0
- package/lib/TextAlign.js +165 -0
- package/lib/TextDirection.cjs +1 -0
- package/lib/TextDirection.js +110 -0
- package/lib/TextUnderline.cjs +1 -0
- package/lib/TextUnderline.js +115 -0
- package/lib/Twitter-9I6BLNmg.js +1666 -0
- package/lib/Twitter-BuEBgpi9.cjs +1 -0
- package/lib/Twitter.cjs +1 -0
- package/lib/Twitter.js +6 -0
- package/lib/Video.cjs +1 -0
- package/lib/Video.js +7 -0
- package/lib/bubble.cjs +3 -0
- package/lib/bubble.d.ts +1 -0
- package/lib/bubble.js +9533 -0
- package/lib/clsx-CDyrfCnw.js +7391 -0
- package/lib/clsx-CXbNJWDD.cjs +54 -0
- package/lib/components/ActionButton.d.ts +23 -0
- package/lib/components/ActionMenuButton.d.ts +28 -0
- package/lib/components/Bubble/RichTextBubbleCallout.d.ts +1 -0
- package/lib/components/Bubble/RichTextBubbleColumns.d.ts +1 -0
- package/lib/components/Bubble/RichTextBubbleDrawer.d.ts +1 -0
- package/lib/components/Bubble/RichTextBubbleExcalidraw.d.ts +1 -0
- package/lib/components/Bubble/RichTextBubbleIframe.d.ts +1 -0
- package/lib/components/Bubble/RichTextBubbleKatex.d.ts +1 -0
- package/lib/components/Bubble/RichTextBubbleLink.d.ts +6 -0
- package/lib/components/Bubble/RichTextBubbleMedia.d.ts +4 -0
- package/lib/components/Bubble/RichTextBubbleMenuDragHandle.d.ts +1 -0
- package/lib/components/Bubble/RichTextBubbleMermaid.d.ts +1 -0
- package/lib/components/Bubble/RichTextBubbleTable.d.ts +5 -0
- package/lib/components/Bubble/RichTextBubbleText.d.ts +5 -0
- package/lib/components/Bubble/RichTextBubbleTwitter.d.ts +1 -0
- package/lib/components/Bubble/formatBubble.d.ts +55 -0
- package/lib/components/Bubble/index.d.ts +13 -0
- package/lib/components/ColorPicker.d.ts +11 -0
- package/lib/components/ReactBus.d.ts +11 -0
- package/lib/components/RichTextProvider.d.ts +8 -0
- package/lib/components/SizeSetter/SizeSetter.d.ts +13 -0
- package/lib/components/SlashDialogTrigger/RenderDialogUploadImage.d.ts +1 -0
- package/lib/components/SlashDialogTrigger/RenderDialogUploadVideo.d.ts +1 -0
- package/lib/components/SlashDialogTrigger/SlashDialogTrigger.d.ts +5 -0
- package/lib/components/icons/Activity.d.ts +2 -0
- package/lib/components/icons/Animas.d.ts +2 -0
- package/lib/components/icons/AspectRatio.d.ts +2 -0
- package/lib/components/icons/Blockquote.d.ts +2 -0
- package/lib/components/icons/CodeView.d.ts +1 -0
- package/lib/components/icons/ColumnAddLeft.d.ts +1 -0
- package/lib/components/icons/ColumnAddRight.d.ts +1 -0
- package/lib/components/icons/DeleteColumn.d.ts +2 -0
- package/lib/components/icons/DeleteRow.d.ts +2 -0
- package/lib/components/icons/Direction.d.ts +1 -0
- package/lib/components/icons/Excalidraw.d.ts +1 -0
- package/lib/components/icons/ExportPdf.d.ts +1 -0
- package/lib/components/icons/ExportWord.d.ts +2 -0
- package/lib/components/icons/FileWordOutline.d.ts +2 -0
- package/lib/components/icons/Flag.d.ts +2 -0
- package/lib/components/icons/Food.d.ts +2 -0
- package/lib/components/icons/GIfIcon.d.ts +1 -0
- package/lib/components/icons/Html.d.ts +1 -0
- package/lib/components/icons/Icon.d.ts +8 -0
- package/lib/components/icons/IconColorFill.d.ts +5 -0
- package/lib/components/icons/IconHighlightFill.d.ts +3 -0
- package/lib/components/icons/ImportWord.d.ts +2 -0
- package/lib/components/icons/LeftToRight.d.ts +1 -0
- package/lib/components/icons/LineHeight.d.ts +2 -0
- package/lib/components/icons/MenuDown.d.ts +2 -0
- package/lib/components/icons/Mermaid.d.ts +1 -0
- package/lib/components/icons/NoFill.d.ts +1 -0
- package/lib/components/icons/Object.d.ts +2 -0
- package/lib/components/icons/RightToLeft.d.ts +1 -0
- package/lib/components/icons/SizeL.d.ts +2 -0
- package/lib/components/icons/SizeM.d.ts +2 -0
- package/lib/components/icons/SizeS.d.ts +2 -0
- package/lib/components/icons/Symbol.d.ts +2 -0
- package/lib/components/icons/Travel.d.ts +2 -0
- package/lib/components/icons/Twitter.d.ts +1 -0
- package/lib/components/icons/icons.d.ts +1 -0
- package/lib/components/icons/index.d.ts +12 -0
- package/lib/components/index.d.ts +6 -0
- package/lib/components/ui/button.d.ts +11 -0
- package/lib/components/ui/checkbox.d.ts +4 -0
- package/lib/components/ui/dialog.d.ts +19 -0
- package/lib/components/ui/dropdown-menu.d.ts +27 -0
- package/lib/components/ui/emoji-picker.d.ts +7 -0
- package/lib/components/ui/index.d.ts +15 -0
- package/lib/components/ui/input.d.ts +5 -0
- package/lib/components/ui/label.d.ts +5 -0
- package/lib/components/ui/popover.d.ts +6 -0
- package/lib/components/ui/select.d.ts +13 -0
- package/lib/components/ui/separator.d.ts +4 -0
- package/lib/components/ui/switch.d.ts +4 -0
- package/lib/components/ui/tabs.d.ts +7 -0
- package/lib/components/ui/textarea.d.ts +5 -0
- package/lib/components/ui/toast.d.ts +15 -0
- package/lib/components/ui/toaster.d.ts +1 -0
- package/lib/components/ui/toggle.d.ts +12 -0
- package/lib/components/ui/tooltip.d.ts +7 -0
- package/lib/components/ui/use-toast.d.ts +44 -0
- package/lib/constants/index.d.ts +47 -0
- package/lib/constants/resetCSS.d.ts +1 -0
- package/lib/delete-node-CosiBes5.cjs +1 -0
- package/lib/delete-node-eQHsyyhR.js +24 -0
- package/lib/dom-dataset-BqoJhJXt.cjs +1 -0
- package/lib/dom-dataset-CIEeltF6.js +47 -0
- package/lib/dropdown-menu-Bs69ZBbO.js +143 -0
- package/lib/dropdown-menu-DjWlG2-J.cjs +1 -0
- package/lib/extensions/Attachment/Attachment.d.ts +15 -0
- package/lib/extensions/Attachment/components/NodeViewAttachment/FileIcon.d.ts +1 -0
- package/lib/extensions/Attachment/components/NodeViewAttachment/FileIconString.d.ts +1 -0
- package/lib/extensions/Attachment/components/NodeViewAttachment/NodeViewAttachment.d.ts +1 -0
- package/lib/extensions/Attachment/components/RichTextAttachment.d.ts +1 -0
- package/lib/extensions/Attachment/index.d.ts +1 -0
- package/lib/extensions/Blockquote/Blockquote.d.ts +6 -0
- package/lib/extensions/Blockquote/components/RichTextBlockquote.d.ts +1 -0
- package/lib/extensions/Blockquote/index.d.ts +1 -0
- package/lib/extensions/Bold/Bold.d.ts +6 -0
- package/lib/extensions/Bold/components/RichTextBold.d.ts +1 -0
- package/lib/extensions/Bold/index.d.ts +1 -0
- package/lib/extensions/BulletList/BulletList.d.ts +6 -0
- package/lib/extensions/BulletList/components/RichTextBulletList.d.ts +1 -0
- package/lib/extensions/BulletList/index.d.ts +1 -0
- package/lib/extensions/Callout/Callout.d.ts +18 -0
- package/lib/extensions/Callout/components/NodeViewCallout/NodeViewCallout.d.ts +1 -0
- package/lib/extensions/Callout/components/RichTextCallout.d.ts +1 -0
- package/lib/extensions/Callout/index.d.ts +1 -0
- package/lib/extensions/Clear/Clear.d.ts +6 -0
- package/lib/extensions/Clear/components/RichTextClear.d.ts +1 -0
- package/lib/extensions/Clear/index.d.ts +1 -0
- package/lib/extensions/Code/Code.d.ts +6 -0
- package/lib/extensions/Code/components/RichTextCode.d.ts +1 -0
- package/lib/extensions/Code/index.d.ts +1 -0
- package/lib/extensions/CodeBlock/CodeBlock.d.ts +21 -0
- package/lib/extensions/CodeBlock/components/NodeViewCodeBlock/NodeViewCodeBlock.d.ts +1 -0
- package/lib/extensions/CodeBlock/components/RichTextCodeBlock.d.ts +1 -0
- package/lib/extensions/CodeBlock/index.d.ts +1 -0
- package/lib/extensions/CodeView/CodeView.d.ts +17 -0
- package/lib/extensions/CodeView/components/RichTextCodeView.d.ts +1 -0
- package/lib/extensions/CodeView/index.d.ts +1 -0
- package/lib/extensions/Color/Color.d.ts +22 -0
- package/lib/extensions/Color/components/RichTextColor.d.ts +1 -0
- package/lib/extensions/Color/index.d.ts +1 -0
- package/lib/extensions/Column/Column.d.ts +17 -0
- package/lib/extensions/Column/components/RichTextColumn.d.ts +1 -0
- package/lib/extensions/Column/index.d.ts +1 -0
- package/lib/extensions/Drawer/Drawer.d.ts +15 -0
- package/lib/extensions/Drawer/components/ControlDrawer/ControlDrawer.d.ts +2 -0
- package/lib/extensions/Drawer/components/ControlDrawer/icon.d.ts +28 -0
- package/lib/extensions/Drawer/components/EditDrawerBlock.d.ts +1 -0
- package/lib/extensions/Drawer/components/NodeViewDrawer/NodeViewDrawer.d.ts +1 -0
- package/lib/extensions/Drawer/components/RichTextDrawer.d.ts +1 -0
- package/lib/extensions/Drawer/index.d.ts +1 -0
- package/lib/extensions/Emoji/Emoji.d.ts +5 -0
- package/lib/extensions/Emoji/components/EmojiList/EmojiNodeView.d.ts +11 -0
- package/lib/extensions/Emoji/components/RichTextEmoji.d.ts +1 -0
- package/lib/extensions/Emoji/index.d.ts +1 -0
- package/lib/extensions/Excalidraw/Excalidraw.d.ts +17 -0
- package/lib/extensions/Excalidraw/components/NodeViewExcalidraw/NodeViewExcalidraw.d.ts +2 -0
- package/lib/extensions/Excalidraw/components/RichTextExcalidraw.d.ts +1 -0
- package/lib/extensions/Excalidraw/index.d.ts +1 -0
- package/lib/extensions/ExportPdf/ExportPdf.d.ts +21 -0
- package/lib/extensions/ExportPdf/components/RichTextExportPdf.d.ts +1 -0
- package/lib/extensions/ExportPdf/index.d.ts +1 -0
- package/lib/extensions/ExportWord/ExportWord.d.ts +13 -0
- package/lib/extensions/ExportWord/components/RichTextExportWord.d.ts +1 -0
- package/lib/extensions/ExportWord/index.d.ts +1 -0
- package/lib/extensions/FontFamily/FontFamily.d.ts +10 -0
- package/lib/extensions/FontFamily/components/RichTextFontFamily.d.ts +15 -0
- package/lib/extensions/FontFamily/index.d.ts +1 -0
- package/lib/extensions/FontSize/FontSize.d.ts +32 -0
- package/lib/extensions/FontSize/components/RichTextFontSize.d.ts +12 -0
- package/lib/extensions/FontSize/index.d.ts +1 -0
- package/lib/extensions/Heading/Heading.d.ts +6 -0
- package/lib/extensions/Heading/components/RichTextHeading.d.ts +15 -0
- package/lib/extensions/Heading/index.d.ts +1 -0
- package/lib/extensions/Highlight/Highlight.d.ts +18 -0
- package/lib/extensions/Highlight/components/RichTextHighlight.d.ts +1 -0
- package/lib/extensions/Highlight/index.d.ts +1 -0
- package/lib/extensions/History/History.d.ts +6 -0
- package/lib/extensions/History/components/RichTextHistory.d.ts +2 -0
- package/lib/extensions/History/index.d.ts +1 -0
- package/lib/extensions/HorizontalRule/HorizontalRule.d.ts +6 -0
- package/lib/extensions/HorizontalRule/components/RichTextHorizontalRule.d.ts +1 -0
- package/lib/extensions/HorizontalRule/index.d.ts +1 -0
- package/lib/extensions/Iframe/Iframe.d.ts +16 -0
- package/lib/extensions/Iframe/components/IframeNodeView.d.ts +2 -0
- package/lib/extensions/Iframe/components/RichTextIframe.d.ts +1 -0
- package/lib/extensions/Iframe/index.d.ts +1 -0
- package/lib/extensions/Iframe/utils.d.ts +9 -0
- package/lib/extensions/Image/Image.d.ts +64 -0
- package/lib/extensions/Image/components/ImageCropper.d.ts +1 -0
- package/lib/extensions/Image/components/ImageView.d.ts +2 -0
- package/lib/extensions/Image/components/RichTextImage.d.ts +1 -0
- package/lib/extensions/Image/index.d.ts +1 -0
- package/lib/extensions/ImageGif/ImageGif.d.ts +39 -0
- package/lib/extensions/ImageGif/components/ImageGifView.d.ts +2 -0
- package/lib/extensions/ImageGif/components/RichTextImageGif.d.ts +1 -0
- package/lib/extensions/ImageGif/components/services.d.ts +458 -0
- package/lib/extensions/ImageGif/index.d.ts +1 -0
- package/lib/extensions/ImportWord/ImportWord.d.ts +18 -0
- package/lib/extensions/ImportWord/components/RichTextImportWord.d.ts +1 -0
- package/lib/extensions/ImportWord/index.d.ts +1 -0
- package/lib/extensions/Indent/Indent.d.ts +23 -0
- package/lib/extensions/Indent/components/RichTextIndent.d.ts +1 -0
- package/lib/extensions/Indent/index.d.ts +1 -0
- package/lib/extensions/Italic/Italic.d.ts +6 -0
- package/lib/extensions/Italic/components/RichTextItalic.d.ts +1 -0
- package/lib/extensions/Italic/index.d.ts +1 -0
- package/lib/extensions/Katex/Katex.d.ts +17 -0
- package/lib/extensions/Katex/components/KatexWrapper.d.ts +1 -0
- package/lib/extensions/Katex/components/RichTextKatex.d.ts +1 -0
- package/lib/extensions/Katex/index.d.ts +1 -0
- package/lib/extensions/LineHeight/LineHeight.d.ts +7 -0
- package/lib/extensions/LineHeight/components/RichTextLightHeight.d.ts +1 -0
- package/lib/extensions/LineHeight/index.d.ts +1 -0
- package/lib/extensions/Link/Link.d.ts +6 -0
- package/lib/extensions/Link/components/LinkEditBlock.d.ts +9 -0
- package/lib/extensions/Link/components/LinkViewBlock.d.ts +8 -0
- package/lib/extensions/Link/components/RichTextLink.d.ts +1 -0
- package/lib/extensions/Link/index.d.ts +1 -0
- package/lib/extensions/Mention/Mention.d.ts +3 -0
- package/lib/extensions/Mention/components/NodeViewMentionList.d.ts +16 -0
- package/lib/extensions/Mention/index.d.ts +1 -0
- package/lib/extensions/Mermaid/Mermaid.d.ts +27 -0
- package/lib/extensions/Mermaid/components/EditMermaidBlock.d.ts +9 -0
- package/lib/extensions/Mermaid/components/NodeViewMermaid/NodeViewMermaid.d.ts +9 -0
- package/lib/extensions/Mermaid/components/RichTextMermaid.d.ts +1 -0
- package/lib/extensions/Mermaid/index.d.ts +1 -0
- package/lib/extensions/MoreMark/MoreMark.d.ts +20 -0
- package/lib/extensions/MoreMark/components/RichTextMoreMark.d.ts +14 -0
- package/lib/extensions/MoreMark/index.d.ts +1 -0
- package/lib/extensions/OrderedList/OrderedList.d.ts +6 -0
- package/lib/extensions/OrderedList/components/RichTextOrderedList.d.ts +1 -0
- package/lib/extensions/OrderedList/index.d.ts +1 -0
- package/lib/extensions/SearchAndReplace/SearchAndReplace.d.ts +36 -0
- package/lib/extensions/SearchAndReplace/components/RichTextSearchAndReplace.d.ts +1 -0
- package/lib/extensions/SearchAndReplace/index.d.ts +1 -0
- package/lib/extensions/SlashCommand/SlashCommand.d.ts +4 -0
- package/lib/extensions/SlashCommand/components/SlashCommandList.d.ts +6 -0
- package/lib/extensions/SlashCommand/components/SlashCommandNodeView.d.ts +3 -0
- package/lib/extensions/SlashCommand/index.d.ts +1 -0
- package/lib/extensions/SlashCommand/renderCommandListDefault.d.ts +7 -0
- package/lib/extensions/SlashCommand/types.d.ts +20 -0
- package/lib/extensions/Strike/Strike.d.ts +6 -0
- package/lib/extensions/Strike/components/RichTextStrike.d.ts +1 -0
- package/lib/extensions/Strike/index.d.ts +1 -0
- package/lib/extensions/Table/Table.d.ts +21 -0
- package/lib/extensions/Table/TableCellBackground.d.ts +14 -0
- package/lib/extensions/Table/components/CreateTablePopover.d.ts +7 -0
- package/lib/extensions/Table/components/RichTextTable.d.ts +1 -0
- package/lib/extensions/Table/index.d.ts +1 -0
- package/lib/extensions/TaskList/TaskList.d.ts +11 -0
- package/lib/extensions/TaskList/components/RichTextTaskList.d.ts +1 -0
- package/lib/extensions/TaskList/index.d.ts +1 -0
- package/lib/extensions/TextAlign/TextAlign.d.ts +17 -0
- package/lib/extensions/TextAlign/components/RichTextAlign.d.ts +14 -0
- package/lib/extensions/TextAlign/index.d.ts +1 -0
- package/lib/extensions/TextDirection/TextDirection.d.ts +5 -0
- package/lib/extensions/TextDirection/components/RichTextTextDirection.d.ts +15 -0
- package/lib/extensions/TextDirection/index.d.ts +1 -0
- package/lib/extensions/TextUnderline/TextUnderline.d.ts +6 -0
- package/lib/extensions/TextUnderline/components/RichTextUnderline.d.ts +1 -0
- package/lib/extensions/TextUnderline/index.d.ts +1 -0
- package/lib/extensions/Twitter/Twitter.d.ts +46 -0
- package/lib/extensions/Twitter/components/FormEditLinkTwitter.d.ts +6 -0
- package/lib/extensions/Twitter/components/NodeViewTweet.d.ts +8 -0
- package/lib/extensions/Twitter/components/RichTextTwitter.d.ts +1 -0
- package/lib/extensions/Twitter/index.d.ts +1 -0
- package/lib/extensions/Video/Video.d.ts +66 -0
- package/lib/extensions/Video/components/RichTextVideo.d.ts +1 -0
- package/lib/extensions/Video/index.d.ts +1 -0
- package/lib/hooks/useActive.d.ts +21 -0
- package/lib/hooks/useAttributes.d.ts +2 -0
- package/lib/hooks/useButtonProps.d.ts +1 -0
- package/lib/hooks/useCopy.d.ts +5 -0
- package/lib/hooks/useExtension.d.ts +1 -0
- package/lib/hooks/useLocalStorage.d.ts +13 -0
- package/lib/index-4Q5IhypJ.js +1349 -0
- package/lib/index-BCzvbrf5.cjs +12 -0
- package/lib/index-BG0kQamI.js +285 -0
- package/lib/index-C-tDsIKJ.js +1631 -0
- package/lib/index-C1WCZhyA.js +237 -0
- package/lib/index-CjhjjJsN.cjs +1 -0
- package/lib/index-Cs6cp0Y6.cjs +1 -0
- package/lib/index-CsSfYR30.js +1351 -0
- package/lib/index-D9oM__YW.cjs +1 -0
- package/lib/index-DjDf4BK8.js +707 -0
- package/lib/index-NsYff_Ni.cjs +1 -0
- package/lib/index-bVGIXhRg.cjs +1 -0
- package/lib/index-lj3VWExo.js +4883 -0
- package/lib/index-neeeY2o7.cjs +4 -0
- package/lib/index.cjs +115 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +338 -0
- package/lib/jsx-runtime-CT7Pcg-t.js +13 -0
- package/lib/jsx-runtime-C_NLcKys.cjs +1 -0
- package/lib/lib/utils.d.ts +2 -0
- package/lib/locale-bundle.cjs +1 -0
- package/lib/locale-bundle.d.ts +1 -0
- package/lib/locale-bundle.js +11 -0
- package/lib/locales/en.d.ts +196 -0
- package/lib/locales/fi.d.ts +196 -0
- package/lib/locales/hu.d.ts +196 -0
- package/lib/locales/index.d.ts +1198 -0
- package/lib/locales/pt-br.d.ts +196 -0
- package/lib/locales/vi.d.ts +196 -0
- package/lib/locales/zh-cn.d.ts +196 -0
- package/lib/plugins/image-upload.d.ts +13 -0
- package/lib/popover-CPr9bHYn.js +24 -0
- package/lib/popover-D-hUKDYu.cjs +1 -0
- package/lib/renderNodeView-BJSrgyGj.js +28 -0
- package/lib/renderNodeView-DfLmGrgA.cjs +1 -0
- package/lib/select-C2KF4RNg.cjs +1 -0
- package/lib/select-CuE_HaQJ.js +120 -0
- package/lib/separator-CHzYNMVt.js +293 -0
- package/lib/separator-_gvUNba_.cjs +1 -0
- package/lib/store/EditorEditableReactive.d.ts +1 -0
- package/lib/store/ThemeColorReactive.d.ts +1 -0
- package/lib/store/commandList.d.ts +2 -0
- package/lib/store/editor.d.ts +21 -0
- package/lib/store/store.d.ts +3 -0
- package/lib/style.css +1 -0
- package/lib/textarea-DZj6EY-N.cjs +1 -0
- package/lib/textarea-gEoNp9CA.js +20 -0
- package/lib/theme/theme.d.ts +369 -0
- package/lib/theme.cjs +1 -0
- package/lib/theme.js +395 -0
- package/lib/types.d.ts +230 -0
- package/lib/updatePosition-Cjuj2E26.cjs +1 -0
- package/lib/updatePosition-e90ZrFWW.js +16 -0
- package/lib/utils/base64.d.ts +2 -0
- package/lib/utils/checkIsVideoUrl.d.ts +1 -0
- package/lib/utils/color.d.ts +7 -0
- package/lib/utils/columns.d.ts +14 -0
- package/lib/utils/customEvents/events.constant.d.ts +6 -0
- package/lib/utils/delete-node.d.ts +2 -0
- package/lib/utils/dom-dataset.d.ts +28 -0
- package/lib/utils/download.d.ts +1 -0
- package/lib/utils/dynamicCSS.d.ts +25 -0
- package/lib/utils/editor-container-size.d.ts +4 -0
- package/lib/utils/file.d.ts +30 -0
- package/lib/utils/getRenderContainer.d.ts +3 -0
- package/lib/utils/indent.d.ts +14 -0
- package/lib/utils/is-mobile.d.ts +19 -0
- package/lib/utils/json.d.ts +2 -0
- package/lib/utils/lru-cache.d.ts +31 -0
- package/lib/utils/mitt.d.ts +24 -0
- package/lib/utils/node.d.ts +15 -0
- package/lib/utils/pdf.d.ts +3 -0
- package/lib/utils/plateform.d.ts +11 -0
- package/lib/utils/renderNodeView.d.ts +6 -0
- package/lib/utils/shortId.d.ts +1 -0
- package/lib/utils/storage.d.ts +2 -0
- package/lib/utils/updatePosition.d.ts +1 -0
- package/lib/utils/utils.d.ts +20 -0
- package/lib/utils/validateFile.d.ts +16 -0
- package/package.json +845 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
declare const locale: {
|
|
2
|
+
'editor.remove': string;
|
|
3
|
+
'editor.copy': string;
|
|
4
|
+
'editor.words': string;
|
|
5
|
+
'editor.characters': string;
|
|
6
|
+
'editor.default': string;
|
|
7
|
+
'editor.recent': string;
|
|
8
|
+
'editor.nofill': string;
|
|
9
|
+
'editor.format': string;
|
|
10
|
+
'editor.delete': string;
|
|
11
|
+
'editor.edit': string;
|
|
12
|
+
'editor.settings': string;
|
|
13
|
+
'editor.table_of_content': string;
|
|
14
|
+
'editor.draghandle.tooltip': string;
|
|
15
|
+
'editor.copyToClipboard': string;
|
|
16
|
+
'editor.slash': string;
|
|
17
|
+
'editor.slash.empty': string;
|
|
18
|
+
'editor.slash.format': string;
|
|
19
|
+
'editor.slash.insert': string;
|
|
20
|
+
'editor.slash.embed': string;
|
|
21
|
+
'editor.content': string;
|
|
22
|
+
'editor.fontFamily.tooltip': string;
|
|
23
|
+
'editor.fontFamily.default.tooltip': string;
|
|
24
|
+
'editor.moremark': string;
|
|
25
|
+
'editor.size.small.tooltip': string;
|
|
26
|
+
'editor.size.medium.tooltip': string;
|
|
27
|
+
'editor.size.large.tooltip': string;
|
|
28
|
+
'editor.bold.tooltip': string;
|
|
29
|
+
'editor.italic.tooltip': string;
|
|
30
|
+
'editor.underline.tooltip': string;
|
|
31
|
+
'editor.strike.tooltip': string;
|
|
32
|
+
'editor.color.tooltip': string;
|
|
33
|
+
'editor.color.more': string;
|
|
34
|
+
'editor.highlight.tooltip': string;
|
|
35
|
+
'editor.lineheight.tooltip': string;
|
|
36
|
+
'editor.heading.tooltip': string;
|
|
37
|
+
'editor.heading.h1.tooltip': string;
|
|
38
|
+
'editor.heading.h2.tooltip': string;
|
|
39
|
+
'editor.heading.h3.tooltip': string;
|
|
40
|
+
'editor.heading.h4.tooltip': string;
|
|
41
|
+
'editor.heading.h5.tooltip': string;
|
|
42
|
+
'editor.heading.h6.tooltip': string;
|
|
43
|
+
'editor.paragraph.tooltip': string;
|
|
44
|
+
'editor.textalign.tooltip': string;
|
|
45
|
+
'editor.textalign.left.tooltip': string;
|
|
46
|
+
'editor.textalign.center.tooltip': string;
|
|
47
|
+
'editor.textalign.right.tooltip': string;
|
|
48
|
+
'editor.textalign.justify.tooltip': string;
|
|
49
|
+
'editor.indent': string;
|
|
50
|
+
'editor.indent.indent': string;
|
|
51
|
+
'editor.indent.outdent': string;
|
|
52
|
+
'editor.fontSize.tooltip': string;
|
|
53
|
+
'editor.fontSize.default.tooltip': string;
|
|
54
|
+
'editor.superscript.tooltip': string;
|
|
55
|
+
'editor.subscript.tooltip': string;
|
|
56
|
+
'editor.bulletlist.tooltip': string;
|
|
57
|
+
'editor.orderedlist.tooltip': string;
|
|
58
|
+
'editor.tasklist.tooltip': string;
|
|
59
|
+
'editor.indent.tooltip': string;
|
|
60
|
+
'editor.outdent.tooltip': string;
|
|
61
|
+
'editor.columns.tooltip': string;
|
|
62
|
+
'editor.link.tooltip': string;
|
|
63
|
+
'editor.link.unlink.tooltip': string;
|
|
64
|
+
'editor.link.open.tooltip': string;
|
|
65
|
+
'editor.link.edit.tooltip': string;
|
|
66
|
+
'editor.link.dialog.title': string;
|
|
67
|
+
'editor.link.dialog.link': string;
|
|
68
|
+
'editor.link.dialog.text': string;
|
|
69
|
+
'editor.link.dialog.openInNewTab': string;
|
|
70
|
+
'editor.link.dialog.link.placeholder': string;
|
|
71
|
+
'editor.link.dialog.text.placeholder': string;
|
|
72
|
+
'editor.link.dialog.button.apply': string;
|
|
73
|
+
'editor.link.dialog.button.cancel': string;
|
|
74
|
+
'editor.image.tooltip': string;
|
|
75
|
+
'editor.image.dragger.tooltip': string;
|
|
76
|
+
'editor.image.float.left.tooltip': string;
|
|
77
|
+
'editor.image.float.none.tooltip': string;
|
|
78
|
+
'editor.image.float.right.tooltip': string;
|
|
79
|
+
'editor.image.dialog.title': string;
|
|
80
|
+
'editor.image.dialog.tab.url': string;
|
|
81
|
+
'editor.image.dialog.tab.upload': string;
|
|
82
|
+
'editor.link.dialog.inline': string;
|
|
83
|
+
'editor.image.dialog.tab.uploadCrop': string;
|
|
84
|
+
'editor.image.dialog.uploading': string;
|
|
85
|
+
'editor.image.dialog.form.link': string;
|
|
86
|
+
'editor.image.dialog.placeholder': string;
|
|
87
|
+
'editor.image.dialog.form.alt': string;
|
|
88
|
+
'editor.image.dialog.form.aspectRatio': string;
|
|
89
|
+
'editor.image.dialog.form.file': string;
|
|
90
|
+
'editor.image.dialog.button.apply': string;
|
|
91
|
+
'editor.video.tooltip': string;
|
|
92
|
+
'editor.video.dialog.tab.upload': string;
|
|
93
|
+
'editor.video.dialog.uploading': string;
|
|
94
|
+
'editor.video.dialog.title': string;
|
|
95
|
+
'editor.video.dialog.link': string;
|
|
96
|
+
'editor.video.dialog.placeholder': string;
|
|
97
|
+
'editor.video.dialog.button.apply': string;
|
|
98
|
+
'editor.table.tooltip': string;
|
|
99
|
+
'editor.table.menu.insert_table': string;
|
|
100
|
+
'editor.table.menu.insert_table.with_header_row': string;
|
|
101
|
+
'editor.table.menu.add_column_before': string;
|
|
102
|
+
'editor.table.menu.add_column_after': string;
|
|
103
|
+
'editor.table.menu.delete_column': string;
|
|
104
|
+
'editor.table.menu.add_row_before': string;
|
|
105
|
+
'editor.table.menu.add_row_after': string;
|
|
106
|
+
'editor.table.menu.delete_row': string;
|
|
107
|
+
'editor.table.menu.merge_or_split_cells': string;
|
|
108
|
+
'editor.table.menu.delete_table': string;
|
|
109
|
+
'editor.blockquote.tooltip': string;
|
|
110
|
+
'editor.horizontalrule.tooltip': string;
|
|
111
|
+
'editor.code.tooltip': string;
|
|
112
|
+
'editor.codeblock.tooltip': string;
|
|
113
|
+
'editor.clear.tooltip': string;
|
|
114
|
+
'editor.undo.tooltip': string;
|
|
115
|
+
'editor.redo.tooltip': string;
|
|
116
|
+
'editor.fullscreen.tooltip.fullscreen': string;
|
|
117
|
+
'editor.fullscreen.tooltip.exit': string;
|
|
118
|
+
'editor.imageUpload.cancel': string;
|
|
119
|
+
'editor.imageUpload.crop': string;
|
|
120
|
+
'editor.imageUpload.uploading': string;
|
|
121
|
+
'editor.imageUpload.alt': string;
|
|
122
|
+
'editor.imageUpload.fileTypeNotSupported': string;
|
|
123
|
+
'editor.imageUpload.fileSizeTooBig': string;
|
|
124
|
+
'editor.table.menu.insertColumnBefore': string;
|
|
125
|
+
'editor.table.menu.insertColumnAfter': string;
|
|
126
|
+
'editor.table.menu.deleteColumn': string;
|
|
127
|
+
'editor.table.menu.insertRowAbove': string;
|
|
128
|
+
'editor.table.menu.insertRowBelow': string;
|
|
129
|
+
'editor.table.menu.deleteRow': string;
|
|
130
|
+
'editor.table.menu.mergeCells': string;
|
|
131
|
+
'editor.table.menu.splitCells': string;
|
|
132
|
+
'editor.table.menu.deleteTable': string;
|
|
133
|
+
'editor.table.menu.setCellsBgColor': string;
|
|
134
|
+
'editor.emoji.tooltip': string;
|
|
135
|
+
'editor.iframe.tooltip': string;
|
|
136
|
+
'editor.searchAndReplace.tooltip': string;
|
|
137
|
+
'editor.search.dialog.text': string;
|
|
138
|
+
'editor.replace.dialog.text': string;
|
|
139
|
+
'editor.replaceAll.dialog.text': string;
|
|
140
|
+
'editor.previous.dialog.text': string;
|
|
141
|
+
'editor.next.dialog.text': string;
|
|
142
|
+
no_result_found: string;
|
|
143
|
+
'Smileys & People': string;
|
|
144
|
+
'Animals & Nature': string;
|
|
145
|
+
'Food & Drink': string;
|
|
146
|
+
Activity: string;
|
|
147
|
+
'Travel & Places': string;
|
|
148
|
+
Object: string;
|
|
149
|
+
Symbol: string;
|
|
150
|
+
Flags: string;
|
|
151
|
+
'Frequently used': string;
|
|
152
|
+
'editor.formula.dialog.text': string;
|
|
153
|
+
'editor.katex.tooltip': string;
|
|
154
|
+
'editor.exportPdf.tooltip': string;
|
|
155
|
+
'editor.exportWord.tooltip': string;
|
|
156
|
+
'editor.importWord.tooltip': string;
|
|
157
|
+
'editor.importWord.limitSize': string;
|
|
158
|
+
'editor.importWord.converting': string;
|
|
159
|
+
'editor.importWord.convertError': string;
|
|
160
|
+
'editor.importWord.importError': string;
|
|
161
|
+
'editor.textDirection.tooltip': string;
|
|
162
|
+
'editor.textDirection.auto.tooltip': string;
|
|
163
|
+
'editor.textDirection.ltr.tooltip': string;
|
|
164
|
+
'editor.textDirection.rtl.tooltip': string;
|
|
165
|
+
'editor.textDirection.unset.tooltip': string;
|
|
166
|
+
'editor.attachment.tooltip': string;
|
|
167
|
+
'editor.attachment.uploading': string;
|
|
168
|
+
'editor.attachment.please_upload': string;
|
|
169
|
+
'editor.imageGif.tooltip': string;
|
|
170
|
+
'editor.replace.caseSensitive': string;
|
|
171
|
+
'editor.mermaid.tooltip': string;
|
|
172
|
+
'editor.twitter.tooltip': string;
|
|
173
|
+
'editor.codeView.tooltip': string;
|
|
174
|
+
'editor.tooltip.flipX': string;
|
|
175
|
+
'editor.tooltip.flipY': string;
|
|
176
|
+
'editor.upload.fileTypeNotSupported': string;
|
|
177
|
+
'editor.upload.fileSizeTooBig': string;
|
|
178
|
+
'editor.upload.error': string;
|
|
179
|
+
'editor.callout.tooltip': string;
|
|
180
|
+
'editor.callout.dialog.title': string;
|
|
181
|
+
'editor.callout.dialog.type': string;
|
|
182
|
+
'editor.callout.dialog.type.placeholder': string;
|
|
183
|
+
'editor.callout.dialog.title.label': string;
|
|
184
|
+
'editor.callout.dialog.title.placeholder': string;
|
|
185
|
+
'editor.callout.dialog.body.label': string;
|
|
186
|
+
'editor.callout.dialog.body.placeholder': string;
|
|
187
|
+
'editor.callout.dialog.button.apply': string;
|
|
188
|
+
'editor.callout.dialog.button.cancel': string;
|
|
189
|
+
'editor.callout.edit.title': string;
|
|
190
|
+
'editor.callout.type.note': string;
|
|
191
|
+
'editor.callout.type.tip': string;
|
|
192
|
+
'editor.callout.type.important': string;
|
|
193
|
+
'editor.callout.type.warning': string;
|
|
194
|
+
'editor.callout.type.caution': string;
|
|
195
|
+
};
|
|
196
|
+
export default locale;
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
declare const locale: {
|
|
2
|
+
'editor.remove': string;
|
|
3
|
+
'editor.copy': string;
|
|
4
|
+
'editor.words': string;
|
|
5
|
+
'editor.characters': string;
|
|
6
|
+
'editor.default': string;
|
|
7
|
+
'editor.recent': string;
|
|
8
|
+
'editor.nofill': string;
|
|
9
|
+
'editor.format': string;
|
|
10
|
+
'editor.delete': string;
|
|
11
|
+
'editor.edit': string;
|
|
12
|
+
'editor.settings': string;
|
|
13
|
+
'editor.table_of_content': string;
|
|
14
|
+
'editor.draghandle.tooltip': string;
|
|
15
|
+
'editor.copyToClipboard': string;
|
|
16
|
+
'editor.slash': string;
|
|
17
|
+
'editor.slash.empty': string;
|
|
18
|
+
'editor.slash.format': string;
|
|
19
|
+
'editor.slash.insert': string;
|
|
20
|
+
'editor.slash.embed': string;
|
|
21
|
+
'editor.content': string;
|
|
22
|
+
'editor.moremark': string;
|
|
23
|
+
'editor.size.small.tooltip': string;
|
|
24
|
+
'editor.fontFamily.tooltip': string;
|
|
25
|
+
'editor.fontFamily.default.tooltip': string;
|
|
26
|
+
'editor.size.medium.tooltip': string;
|
|
27
|
+
'editor.size.large.tooltip': string;
|
|
28
|
+
'editor.bold.tooltip': string;
|
|
29
|
+
'editor.italic.tooltip': string;
|
|
30
|
+
'editor.underline.tooltip': string;
|
|
31
|
+
'editor.strike.tooltip': string;
|
|
32
|
+
'editor.color.tooltip': string;
|
|
33
|
+
'editor.color.more': string;
|
|
34
|
+
'editor.highlight.tooltip': string;
|
|
35
|
+
'editor.lineheight.tooltip': string;
|
|
36
|
+
'editor.heading.tooltip': string;
|
|
37
|
+
'editor.heading.h1.tooltip': string;
|
|
38
|
+
'editor.heading.h2.tooltip': string;
|
|
39
|
+
'editor.heading.h3.tooltip': string;
|
|
40
|
+
'editor.heading.h4.tooltip': string;
|
|
41
|
+
'editor.heading.h5.tooltip': string;
|
|
42
|
+
'editor.heading.h6.tooltip': string;
|
|
43
|
+
'editor.paragraph.tooltip': string;
|
|
44
|
+
'editor.textalign.tooltip': string;
|
|
45
|
+
'editor.textalign.left.tooltip': string;
|
|
46
|
+
'editor.textalign.center.tooltip': string;
|
|
47
|
+
'editor.textalign.right.tooltip': string;
|
|
48
|
+
'editor.textalign.justify.tooltip': string;
|
|
49
|
+
'editor.indent': string;
|
|
50
|
+
'editor.indent.indent': string;
|
|
51
|
+
'editor.indent.outdent': string;
|
|
52
|
+
'editor.fontSize.tooltip': string;
|
|
53
|
+
'editor.fontSize.default.tooltip': string;
|
|
54
|
+
'editor.superscript.tooltip': string;
|
|
55
|
+
'editor.subscript.tooltip': string;
|
|
56
|
+
'editor.bulletlist.tooltip': string;
|
|
57
|
+
'editor.orderedlist.tooltip': string;
|
|
58
|
+
'editor.tasklist.tooltip': string;
|
|
59
|
+
'editor.indent.tooltip': string;
|
|
60
|
+
'editor.outdent.tooltip': string;
|
|
61
|
+
'editor.columns.tooltip': string;
|
|
62
|
+
'editor.link.tooltip': string;
|
|
63
|
+
'editor.link.unlink.tooltip': string;
|
|
64
|
+
'editor.link.open.tooltip': string;
|
|
65
|
+
'editor.link.edit.tooltip': string;
|
|
66
|
+
'editor.link.dialog.title': string;
|
|
67
|
+
'editor.link.dialog.link': string;
|
|
68
|
+
'editor.link.dialog.text': string;
|
|
69
|
+
'editor.link.dialog.openInNewTab': string;
|
|
70
|
+
'editor.link.dialog.link.placeholder': string;
|
|
71
|
+
'editor.link.dialog.text.placeholder': string;
|
|
72
|
+
'editor.link.dialog.button.apply': string;
|
|
73
|
+
'editor.link.dialog.button.cancel': string;
|
|
74
|
+
'editor.image.tooltip': string;
|
|
75
|
+
'editor.image.dragger.tooltip': string;
|
|
76
|
+
'editor.image.float.left.tooltip': string;
|
|
77
|
+
'editor.image.float.none.tooltip': string;
|
|
78
|
+
'editor.image.float.right.tooltip': string;
|
|
79
|
+
'editor.image.dialog.title': string;
|
|
80
|
+
'editor.image.dialog.tab.url': string;
|
|
81
|
+
'editor.image.dialog.tab.upload': string;
|
|
82
|
+
'editor.link.dialog.inline': string;
|
|
83
|
+
'editor.image.dialog.tab.uploadCrop': string;
|
|
84
|
+
'editor.image.dialog.uploading': string;
|
|
85
|
+
'editor.image.dialog.form.link': string;
|
|
86
|
+
'editor.image.dialog.placeholder': string;
|
|
87
|
+
'editor.image.dialog.form.alt': string;
|
|
88
|
+
'editor.image.dialog.form.aspectRatio': string;
|
|
89
|
+
'editor.image.dialog.form.file': string;
|
|
90
|
+
'editor.image.dialog.button.apply': string;
|
|
91
|
+
'editor.video.tooltip': string;
|
|
92
|
+
'editor.video.dialog.tab.upload': string;
|
|
93
|
+
'editor.video.dialog.uploading': string;
|
|
94
|
+
'editor.video.dialog.title': string;
|
|
95
|
+
'editor.video.dialog.link': string;
|
|
96
|
+
'editor.video.dialog.placeholder': string;
|
|
97
|
+
'editor.video.dialog.button.apply': string;
|
|
98
|
+
'editor.table.tooltip': string;
|
|
99
|
+
'editor.table.menu.insert_table': string;
|
|
100
|
+
'editor.table.menu.insert_table.with_header_row': string;
|
|
101
|
+
'editor.table.menu.add_column_before': string;
|
|
102
|
+
'editor.table.menu.add_column_after': string;
|
|
103
|
+
'editor.table.menu.delete_column': string;
|
|
104
|
+
'editor.table.menu.add_row_before': string;
|
|
105
|
+
'editor.table.menu.add_row_after': string;
|
|
106
|
+
'editor.table.menu.delete_row': string;
|
|
107
|
+
'editor.table.menu.merge_or_split_cells': string;
|
|
108
|
+
'editor.table.menu.delete_table': string;
|
|
109
|
+
'editor.blockquote.tooltip': string;
|
|
110
|
+
'editor.horizontalrule.tooltip': string;
|
|
111
|
+
'editor.code.tooltip': string;
|
|
112
|
+
'editor.codeblock.tooltip': string;
|
|
113
|
+
'editor.clear.tooltip': string;
|
|
114
|
+
'editor.undo.tooltip': string;
|
|
115
|
+
'editor.redo.tooltip': string;
|
|
116
|
+
'editor.fullscreen.tooltip.fullscreen': string;
|
|
117
|
+
'editor.fullscreen.tooltip.exit': string;
|
|
118
|
+
'editor.imageUpload.cancel': string;
|
|
119
|
+
'editor.imageUpload.crop': string;
|
|
120
|
+
'editor.imageUpload.uploading': string;
|
|
121
|
+
'editor.imageUpload.alt': string;
|
|
122
|
+
'editor.imageUpload.fileTypeNotSupported': string;
|
|
123
|
+
'editor.imageUpload.fileSizeTooBig': string;
|
|
124
|
+
'editor.table.menu.insertColumnBefore': string;
|
|
125
|
+
'editor.table.menu.insertColumnAfter': string;
|
|
126
|
+
'editor.table.menu.deleteColumn': string;
|
|
127
|
+
'editor.table.menu.insertRowAbove': string;
|
|
128
|
+
'editor.table.menu.insertRowBelow': string;
|
|
129
|
+
'editor.table.menu.deleteRow': string;
|
|
130
|
+
'editor.table.menu.mergeCells': string;
|
|
131
|
+
'editor.table.menu.splitCells': string;
|
|
132
|
+
'editor.table.menu.deleteTable': string;
|
|
133
|
+
'editor.table.menu.setCellsBgColor': string;
|
|
134
|
+
'editor.emoji.tooltip': string;
|
|
135
|
+
'editor.iframe.tooltip': string;
|
|
136
|
+
'editor.searchAndReplace.tooltip': string;
|
|
137
|
+
'editor.search.dialog.text': string;
|
|
138
|
+
'editor.replace.dialog.text': string;
|
|
139
|
+
'editor.replaceAll.dialog.text': string;
|
|
140
|
+
'editor.previous.dialog.text': string;
|
|
141
|
+
'editor.next.dialog.text': string;
|
|
142
|
+
no_result_found: string;
|
|
143
|
+
'Smileys & People': string;
|
|
144
|
+
'Animals & Nature': string;
|
|
145
|
+
'Food & Drink': string;
|
|
146
|
+
Activity: string;
|
|
147
|
+
'Travel & Places': string;
|
|
148
|
+
Object: string;
|
|
149
|
+
Symbol: string;
|
|
150
|
+
Flags: string;
|
|
151
|
+
'Frequently used': string;
|
|
152
|
+
'editor.formula.dialog.text': string;
|
|
153
|
+
'editor.katex.tooltip': string;
|
|
154
|
+
'editor.exportPdf.tooltip': string;
|
|
155
|
+
'editor.exportWord.tooltip': string;
|
|
156
|
+
'editor.importWord.tooltip': string;
|
|
157
|
+
'editor.importWord.limitSize': string;
|
|
158
|
+
'editor.importWord.converting': string;
|
|
159
|
+
'editor.importWord.convertError': string;
|
|
160
|
+
'editor.importWord.importError': string;
|
|
161
|
+
'editor.textDirection.tooltip': string;
|
|
162
|
+
'editor.textDirection.auto.tooltip': string;
|
|
163
|
+
'editor.textDirection.ltr.tooltip': string;
|
|
164
|
+
'editor.textDirection.rtl.tooltip': string;
|
|
165
|
+
'editor.textDirection.unset.tooltip': string;
|
|
166
|
+
'editor.attachment.tooltip': string;
|
|
167
|
+
'editor.attachment.uploading': string;
|
|
168
|
+
'editor.attachment.please_upload': string;
|
|
169
|
+
'editor.imageGif.tooltip': string;
|
|
170
|
+
'editor.replace.caseSensitive': string;
|
|
171
|
+
'editor.mermaid.tooltip': string;
|
|
172
|
+
'editor.twitter.tooltip': string;
|
|
173
|
+
'editor.codeView.tooltip': string;
|
|
174
|
+
'editor.tooltip.flipX': string;
|
|
175
|
+
'editor.tooltip.flipY': string;
|
|
176
|
+
'editor.upload.fileTypeNotSupported': string;
|
|
177
|
+
'editor.upload.fileSizeTooBig': string;
|
|
178
|
+
'editor.upload.error': string;
|
|
179
|
+
'editor.callout.tooltip': string;
|
|
180
|
+
'editor.callout.dialog.title': string;
|
|
181
|
+
'editor.callout.dialog.type': string;
|
|
182
|
+
'editor.callout.dialog.type.placeholder': string;
|
|
183
|
+
'editor.callout.dialog.title.label': string;
|
|
184
|
+
'editor.callout.dialog.title.placeholder': string;
|
|
185
|
+
'editor.callout.dialog.body.label': string;
|
|
186
|
+
'editor.callout.dialog.body.placeholder': string;
|
|
187
|
+
'editor.callout.dialog.button.apply': string;
|
|
188
|
+
'editor.callout.dialog.button.cancel': string;
|
|
189
|
+
'editor.callout.edit.title': string;
|
|
190
|
+
'editor.callout.type.note': string;
|
|
191
|
+
'editor.callout.type.tip': string;
|
|
192
|
+
'editor.callout.type.important': string;
|
|
193
|
+
'editor.callout.type.warning': string;
|
|
194
|
+
'editor.callout.type.caution': string;
|
|
195
|
+
};
|
|
196
|
+
export default locale;
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
declare const locale: {
|
|
2
|
+
'editor.remove': string;
|
|
3
|
+
'editor.copy': string;
|
|
4
|
+
'editor.words': string;
|
|
5
|
+
'editor.characters': string;
|
|
6
|
+
'editor.default': string;
|
|
7
|
+
'editor.recent': string;
|
|
8
|
+
'editor.nofill': string;
|
|
9
|
+
'editor.format': string;
|
|
10
|
+
'editor.delete': string;
|
|
11
|
+
'editor.edit': string;
|
|
12
|
+
'editor.settings': string;
|
|
13
|
+
'editor.table_of_content': string;
|
|
14
|
+
'editor.draghandle.tooltip': string;
|
|
15
|
+
'editor.copyToClipboard': string;
|
|
16
|
+
'editor.slash': string;
|
|
17
|
+
'editor.slash.empty': string;
|
|
18
|
+
'editor.slash.format': string;
|
|
19
|
+
'editor.slash.insert': string;
|
|
20
|
+
'editor.slash.embed': string;
|
|
21
|
+
'editor.content': string;
|
|
22
|
+
'editor.fontFamily.tooltip': string;
|
|
23
|
+
'editor.fontFamily.default.tooltip': string;
|
|
24
|
+
'editor.moremark': string;
|
|
25
|
+
'editor.size.small.tooltip': string;
|
|
26
|
+
'editor.size.medium.tooltip': string;
|
|
27
|
+
'editor.size.large.tooltip': string;
|
|
28
|
+
'editor.bold.tooltip': string;
|
|
29
|
+
'editor.italic.tooltip': string;
|
|
30
|
+
'editor.underline.tooltip': string;
|
|
31
|
+
'editor.strike.tooltip': string;
|
|
32
|
+
'editor.color.tooltip': string;
|
|
33
|
+
'editor.color.more': string;
|
|
34
|
+
'editor.highlight.tooltip': string;
|
|
35
|
+
'editor.lineheight.tooltip': string;
|
|
36
|
+
'editor.heading.tooltip': string;
|
|
37
|
+
'editor.heading.h1.tooltip': string;
|
|
38
|
+
'editor.heading.h2.tooltip': string;
|
|
39
|
+
'editor.heading.h3.tooltip': string;
|
|
40
|
+
'editor.heading.h4.tooltip': string;
|
|
41
|
+
'editor.heading.h5.tooltip': string;
|
|
42
|
+
'editor.heading.h6.tooltip': string;
|
|
43
|
+
'editor.paragraph.tooltip': string;
|
|
44
|
+
'editor.textalign.tooltip': string;
|
|
45
|
+
'editor.textalign.left.tooltip': string;
|
|
46
|
+
'editor.textalign.center.tooltip': string;
|
|
47
|
+
'editor.textalign.right.tooltip': string;
|
|
48
|
+
'editor.textalign.justify.tooltip': string;
|
|
49
|
+
'editor.indent': string;
|
|
50
|
+
'editor.indent.indent': string;
|
|
51
|
+
'editor.indent.outdent': string;
|
|
52
|
+
'editor.fontSize.tooltip': string;
|
|
53
|
+
'editor.fontSize.default.tooltip': string;
|
|
54
|
+
'editor.superscript.tooltip': string;
|
|
55
|
+
'editor.subscript.tooltip': string;
|
|
56
|
+
'editor.bulletlist.tooltip': string;
|
|
57
|
+
'editor.orderedlist.tooltip': string;
|
|
58
|
+
'editor.tasklist.tooltip': string;
|
|
59
|
+
'editor.indent.tooltip': string;
|
|
60
|
+
'editor.outdent.tooltip': string;
|
|
61
|
+
'editor.columns.tooltip': string;
|
|
62
|
+
'editor.link.tooltip': string;
|
|
63
|
+
'editor.link.unlink.tooltip': string;
|
|
64
|
+
'editor.link.open.tooltip': string;
|
|
65
|
+
'editor.link.edit.tooltip': string;
|
|
66
|
+
'editor.link.dialog.title': string;
|
|
67
|
+
'editor.link.dialog.link': string;
|
|
68
|
+
'editor.link.dialog.text': string;
|
|
69
|
+
'editor.link.dialog.openInNewTab': string;
|
|
70
|
+
'editor.link.dialog.link.placeholder': string;
|
|
71
|
+
'editor.link.dialog.text.placeholder': string;
|
|
72
|
+
'editor.link.dialog.button.apply': string;
|
|
73
|
+
'editor.link.dialog.button.cancel': string;
|
|
74
|
+
'editor.image.tooltip': string;
|
|
75
|
+
'editor.image.dragger.tooltip': string;
|
|
76
|
+
'editor.image.float.left.tooltip': string;
|
|
77
|
+
'editor.image.float.none.tooltip': string;
|
|
78
|
+
'editor.image.float.right.tooltip': string;
|
|
79
|
+
'editor.image.dialog.title': string;
|
|
80
|
+
'editor.image.dialog.tab.url': string;
|
|
81
|
+
'editor.image.dialog.tab.upload': string;
|
|
82
|
+
'editor.link.dialog.inline': string;
|
|
83
|
+
'editor.image.dialog.uploading': string;
|
|
84
|
+
'editor.image.dialog.form.link': string;
|
|
85
|
+
'editor.image.dialog.placeholder': string;
|
|
86
|
+
'editor.image.dialog.form.alt': string;
|
|
87
|
+
'editor.image.dialog.form.aspectRatio': string;
|
|
88
|
+
'editor.image.dialog.form.file': string;
|
|
89
|
+
'editor.image.dialog.button.apply': string;
|
|
90
|
+
'editor.video.tooltip': string;
|
|
91
|
+
'editor.video.dialog.tab.upload': string;
|
|
92
|
+
'editor.image.dialog.tab.uploadCrop': string;
|
|
93
|
+
'editor.video.dialog.uploading': string;
|
|
94
|
+
'editor.video.dialog.title': string;
|
|
95
|
+
'editor.video.dialog.link': string;
|
|
96
|
+
'editor.video.dialog.placeholder': string;
|
|
97
|
+
'editor.video.dialog.button.apply': string;
|
|
98
|
+
'editor.table.tooltip': string;
|
|
99
|
+
'editor.table.menu.insert_table': string;
|
|
100
|
+
'editor.table.menu.insert_table.with_header_row': string;
|
|
101
|
+
'editor.table.menu.add_column_before': string;
|
|
102
|
+
'editor.table.menu.add_column_after': string;
|
|
103
|
+
'editor.table.menu.delete_column': string;
|
|
104
|
+
'editor.table.menu.add_row_before': string;
|
|
105
|
+
'editor.table.menu.add_row_after': string;
|
|
106
|
+
'editor.table.menu.delete_row': string;
|
|
107
|
+
'editor.table.menu.merge_or_split_cells': string;
|
|
108
|
+
'editor.table.menu.delete_table': string;
|
|
109
|
+
'editor.blockquote.tooltip': string;
|
|
110
|
+
'editor.horizontalrule.tooltip': string;
|
|
111
|
+
'editor.code.tooltip': string;
|
|
112
|
+
'editor.codeblock.tooltip': string;
|
|
113
|
+
'editor.clear.tooltip': string;
|
|
114
|
+
'editor.undo.tooltip': string;
|
|
115
|
+
'editor.redo.tooltip': string;
|
|
116
|
+
'editor.fullscreen.tooltip.fullscreen': string;
|
|
117
|
+
'editor.fullscreen.tooltip.exit': string;
|
|
118
|
+
'editor.imageUpload.cancel': string;
|
|
119
|
+
'editor.imageUpload.crop': string;
|
|
120
|
+
'editor.imageUpload.uploading': string;
|
|
121
|
+
'editor.imageUpload.alt': string;
|
|
122
|
+
'editor.imageUpload.fileTypeNotSupported': string;
|
|
123
|
+
'editor.imageUpload.fileSizeTooBig': string;
|
|
124
|
+
'editor.table.menu.insertColumnBefore': string;
|
|
125
|
+
'editor.table.menu.insertColumnAfter': string;
|
|
126
|
+
'editor.table.menu.deleteColumn': string;
|
|
127
|
+
'editor.table.menu.insertRowAbove': string;
|
|
128
|
+
'editor.table.menu.insertRowBelow': string;
|
|
129
|
+
'editor.table.menu.deleteRow': string;
|
|
130
|
+
'editor.table.menu.mergeCells': string;
|
|
131
|
+
'editor.table.menu.splitCells': string;
|
|
132
|
+
'editor.table.menu.deleteTable': string;
|
|
133
|
+
'editor.table.menu.setCellsBgColor': string;
|
|
134
|
+
'editor.emoji.tooltip': string;
|
|
135
|
+
'editor.iframe.tooltip': string;
|
|
136
|
+
'editor.searchAndReplace.tooltip': string;
|
|
137
|
+
'editor.search.dialog.text': string;
|
|
138
|
+
'editor.replace.dialog.text': string;
|
|
139
|
+
'editor.replaceAll.dialog.text': string;
|
|
140
|
+
'editor.previous.dialog.text': string;
|
|
141
|
+
'editor.next.dialog.text': string;
|
|
142
|
+
no_result_found: string;
|
|
143
|
+
'Smileys & People': string;
|
|
144
|
+
'Animals & Nature': string;
|
|
145
|
+
'Food & Drink': string;
|
|
146
|
+
Activity: string;
|
|
147
|
+
'Travel & Places': string;
|
|
148
|
+
Object: string;
|
|
149
|
+
Symbol: string;
|
|
150
|
+
Flags: string;
|
|
151
|
+
'Frequently used': string;
|
|
152
|
+
'editor.formula.dialog.text': string;
|
|
153
|
+
'editor.katex.tooltip': string;
|
|
154
|
+
'editor.exportPdf.tooltip': string;
|
|
155
|
+
'editor.exportWord.tooltip': string;
|
|
156
|
+
'editor.importWord.tooltip': string;
|
|
157
|
+
'editor.importWord.limitSize': string;
|
|
158
|
+
'editor.importWord.converting': string;
|
|
159
|
+
'editor.importWord.convertError': string;
|
|
160
|
+
'editor.importWord.importError': string;
|
|
161
|
+
'editor.textDirection.tooltip': string;
|
|
162
|
+
'editor.textDirection.auto.tooltip': string;
|
|
163
|
+
'editor.textDirection.ltr.tooltip': string;
|
|
164
|
+
'editor.textDirection.rtl.tooltip': string;
|
|
165
|
+
'editor.textDirection.unset.tooltip': string;
|
|
166
|
+
'editor.attachment.tooltip': string;
|
|
167
|
+
'editor.attachment.uploading': string;
|
|
168
|
+
'editor.attachment.please_upload': string;
|
|
169
|
+
'editor.imageGif.tooltip': string;
|
|
170
|
+
'editor.replace.caseSensitive': string;
|
|
171
|
+
'editor.mermaid.tooltip': string;
|
|
172
|
+
'editor.twitter.tooltip': string;
|
|
173
|
+
'editor.codeView.tooltip': string;
|
|
174
|
+
'editor.tooltip.flipX': string;
|
|
175
|
+
'editor.tooltip.flipY': string;
|
|
176
|
+
'editor.upload.fileTypeNotSupported': string;
|
|
177
|
+
'editor.upload.fileSizeTooBig': string;
|
|
178
|
+
'editor.upload.error': string;
|
|
179
|
+
'editor.callout.tooltip': string;
|
|
180
|
+
'editor.callout.dialog.title': string;
|
|
181
|
+
'editor.callout.dialog.type': string;
|
|
182
|
+
'editor.callout.dialog.type.placeholder': string;
|
|
183
|
+
'editor.callout.dialog.title.label': string;
|
|
184
|
+
'editor.callout.dialog.title.placeholder': string;
|
|
185
|
+
'editor.callout.dialog.body.label': string;
|
|
186
|
+
'editor.callout.dialog.body.placeholder': string;
|
|
187
|
+
'editor.callout.dialog.button.apply': string;
|
|
188
|
+
'editor.callout.dialog.button.cancel': string;
|
|
189
|
+
'editor.callout.edit.title': string;
|
|
190
|
+
'editor.callout.type.note': string;
|
|
191
|
+
'editor.callout.type.tip': string;
|
|
192
|
+
'editor.callout.type.important': string;
|
|
193
|
+
'editor.callout.type.warning': string;
|
|
194
|
+
'editor.callout.type.caution': string;
|
|
195
|
+
};
|
|
196
|
+
export default locale;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Plugin } from '@tiptap/pm/state';
|
|
2
|
+
import { EditorView } from '@tiptap/pm/view';
|
|
3
|
+
export declare function UploadImagesPlugin(): Plugin<any>;
|
|
4
|
+
export interface ImageUploadOptions {
|
|
5
|
+
validateFn?: (file: File) => boolean;
|
|
6
|
+
onUpload: (file: File) => Promise<string | object>;
|
|
7
|
+
postUpload?: (src: string) => Promise<string>;
|
|
8
|
+
defaultInline?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type UploadFn = (files: File[], view: EditorView, pos: number) => void;
|
|
11
|
+
export declare function createImageUpload({ validateFn, onUpload, postUpload, defaultInline, }: ImageUploadOptions): UploadFn;
|
|
12
|
+
export declare function handleImagePaste(view: EditorView, event: ClipboardEvent, uploadFn: UploadFn): boolean;
|
|
13
|
+
export declare function handleImageDrop(view: EditorView, event: DragEvent, moved: boolean, uploadFn: UploadFn): boolean;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import * as t from "@radix-ui/react-popover";
|
|
3
|
+
import * as c from "react";
|
|
4
|
+
import { c as s } from "./index-lj3VWExo.js";
|
|
5
|
+
const x = t.Root, p = t.Trigger, n = c.forwardRef(({ className: o, align: r = "center", sideOffset: i = 4, ...a }, d) => /* @__PURE__ */ e(t.Portal, { children: /* @__PURE__ */ e(
|
|
6
|
+
t.Content,
|
|
7
|
+
{
|
|
8
|
+
align: r,
|
|
9
|
+
"data-richtext-portal": !0,
|
|
10
|
+
ref: d,
|
|
11
|
+
sideOffset: i,
|
|
12
|
+
className: s(
|
|
13
|
+
"richtext-z-50 richtext-w-72 richtext-rounded-md !richtext-border !richtext-border-border richtext-bg-popover richtext-p-4 richtext-text-popover-foreground richtext-shadow-md richtext-outline-none data-[state=open]:richtext-animate-in data-[state=closed]:richtext-animate-out data-[state=closed]:richtext-fade-out-0 data-[state=open]:richtext-fade-in-0 data-[state=closed]:richtext-zoom-out-95 data-[state=open]:richtext-zoom-in-95 data-[side=bottom]:richtext-slide-in-from-top-2 data-[side=left]:richtext-slide-in-from-right-2 data-[side=right]:richtext-slide-in-from-left-2 data-[side=top]:richtext-slide-in-from-bottom-2",
|
|
14
|
+
o
|
|
15
|
+
),
|
|
16
|
+
...a
|
|
17
|
+
}
|
|
18
|
+
) }));
|
|
19
|
+
n.displayName = t.Content.displayName;
|
|
20
|
+
export {
|
|
21
|
+
x as P,
|
|
22
|
+
p as a,
|
|
23
|
+
n as b
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=require("react/jsx-runtime"),d=require("@radix-ui/react-popover"),p=require("react"),h=require("./index-D9oM__YW.cjs");function n(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const i=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,i.get?i:{enumerable:!0,get:()=>t[e]})}}return r.default=t,Object.freeze(r)}const o=n(d),l=n(p),x=o.Root,m=o.Trigger,c=l.forwardRef(({className:t,align:r="center",sideOffset:e=4,...i},s)=>a.jsx(o.Portal,{children:a.jsx(o.Content,{align:r,"data-richtext-portal":!0,ref:s,sideOffset:e,className:h.cn("richtext-z-50 richtext-w-72 richtext-rounded-md !richtext-border !richtext-border-border richtext-bg-popover richtext-p-4 richtext-text-popover-foreground richtext-shadow-md richtext-outline-none data-[state=open]:richtext-animate-in data-[state=closed]:richtext-animate-out data-[state=closed]:richtext-fade-out-0 data-[state=open]:richtext-fade-in-0 data-[state=closed]:richtext-zoom-out-95 data-[state=open]:richtext-zoom-in-95 data-[side=bottom]:richtext-slide-in-from-top-2 data-[side=left]:richtext-slide-in-from-right-2 data-[side=right]:richtext-slide-in-from-left-2 data-[side=top]:richtext-slide-in-from-bottom-2",t),...i})}));c.displayName=o.Content.displayName;exports.Popover=x;exports.PopoverContent=c;exports.PopoverTrigger=m;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { R as i } from "./clsx-CDyrfCnw.js";
|
|
2
|
+
import { u as r } from "./updatePosition-e90ZrFWW.js";
|
|
3
|
+
function l(o) {
|
|
4
|
+
return () => {
|
|
5
|
+
let e;
|
|
6
|
+
return {
|
|
7
|
+
onStart: (t) => {
|
|
8
|
+
t.clientRect && (e = new i(o, {
|
|
9
|
+
props: t,
|
|
10
|
+
editor: t.editor
|
|
11
|
+
}), e.element.style.position = "absolute", document.body.appendChild(e.element), r(t.editor, e.element));
|
|
12
|
+
},
|
|
13
|
+
onUpdate(t) {
|
|
14
|
+
e.updateProps(t), t.clientRect && r(t.editor, e.element);
|
|
15
|
+
},
|
|
16
|
+
onKeyDown(t) {
|
|
17
|
+
var n;
|
|
18
|
+
return t.event.key === "Escape" ? (e.destroy(), e.element.remove(), !0) : (n = e.ref) == null ? void 0 : n.onKeyDown(t);
|
|
19
|
+
},
|
|
20
|
+
onExit() {
|
|
21
|
+
e.destroy(), e.element.remove();
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
l as r
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const i=require("./clsx-CXbNJWDD.cjs"),r=require("./updatePosition-Cjuj2E26.cjs");function d(o){return()=>{let e;return{onStart:t=>{t.clientRect&&(e=new i.ReactRenderer(o,{props:t,editor:t.editor}),e.element.style.position="absolute",document.body.appendChild(e.element),r.updatePosition(t.editor,e.element))},onUpdate(t){e.updateProps(t),t.clientRect&&r.updatePosition(t.editor,e.element)},onKeyDown(t){var n;return t.event.key==="Escape"?(e.destroy(),e.element.remove(),!0):(n=e.ref)==null?void 0:n.onKeyDown(t)},onExit(){e.destroy(),e.element.remove()}}}}exports.renderNodeViewClosure=d;
|