reactjs-tiptap-editor 1.0.25 → 1.0.28
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/lib/{ActionMenuButton-8cTG45Ft.js → ActionMenuButton-BhiGvRJ7.js} +1 -1
- package/lib/{ActionMenuButton-CXeFhner.cjs → ActionMenuButton-qUxkZlQg.cjs} +1 -1
- package/lib/Attachment.cjs +1 -1
- package/lib/Attachment.js +14 -14
- package/lib/Blockquote.cjs +5 -5
- package/lib/Blockquote.js +1497 -53
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.js +3 -3
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.js +2 -2
- package/lib/{Callout-ZlPQrMEt.js → Callout-B9uXfbP3.js} +20 -20
- package/lib/{Callout-DWOMZPiP.cjs → Callout-C_TXsss3.cjs} +1 -1
- package/lib/Callout.cjs +1 -1
- package/lib/Callout.js +4 -4
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.js +2 -2
- package/lib/Code.cjs +1 -1
- package/lib/Code.js +56 -39
- package/lib/CodeBlock.cjs +1 -1
- package/lib/CodeBlock.js +8 -4
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.js +2 -2
- package/lib/Color.cjs +1 -1
- package/lib/Color.js +3 -3
- package/lib/Column.cjs +1 -1
- package/lib/Column.js +2 -2
- package/lib/{Drawer-TJY4NuHx.cjs → Drawer-D3B4lQJF.cjs} +1 -1
- package/lib/{Drawer-C-EO1uoK.js → Drawer-h401Yy6Y.js} +4 -4
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.js +4 -4
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.js +1797 -268
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.js +10 -10
- package/lib/ExportPdf.cjs +1 -1
- package/lib/ExportPdf.js +2 -2
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.js +2 -2
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.js +5 -5
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.js +5 -5
- package/lib/FormatPainter.cjs +1 -0
- package/lib/FormatPainter.js +133 -0
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.js +15 -11
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.js +3 -3
- package/lib/History.cjs +7 -1
- package/lib/History.js +663 -569
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.js +2 -2
- package/lib/{Iframe-CGb6-2LD.js → Iframe-Dhn40BXx.js} +7 -7
- package/lib/{Iframe-5zx43DL4.cjs → Iframe-bvGuzYwC.cjs} +1 -1
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.js +3 -3
- package/lib/Image.cjs +1 -1
- package/lib/Image.js +9 -6
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.js +33 -33
- package/lib/ImportWord.cjs +1 -1
- package/lib/ImportWord.js +5 -5
- package/lib/{Indent-CdMYsDNS.js → Indent-BK9DvCL7.js} +2 -2
- package/lib/{Indent-DuwV8s1t.cjs → Indent-IOByomps.cjs} +1 -1
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.js +2 -2
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.js +2 -2
- package/lib/{Katex-CCP_ZQz2.js → Katex-C_Ah9G9w.js} +5 -5
- package/lib/{Katex-D9FP7EUE.cjs → Katex-oLGrtLTf.cjs} +1 -1
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.js +3 -3
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.js +4 -4
- package/lib/Link.cjs +1 -1
- package/lib/Link.js +2 -2
- package/lib/{LinkEditBlock-DQ8-iufJ.cjs → LinkEditBlock-BojxdGTm.cjs} +2 -2
- package/lib/{LinkEditBlock-B1m-TVMu.js → LinkEditBlock-DRdKXffy.js} +88 -57
- package/lib/MarkdownPaste.cjs +1 -1
- package/lib/MarkdownPaste.js +1 -1
- package/lib/Mention.cjs +1 -1
- package/lib/Mention.js +9 -5
- package/lib/Mermaid.cjs +1 -1
- package/lib/Mermaid.js +14 -14
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.js +3 -3
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.js +2 -2
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.js +10 -10
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.js +7 -7
- package/lib/{SlashCommandNodeView-DNixmQGa.cjs → SlashCommandNodeView-Dai-O3aD.cjs} +1 -1
- package/lib/{SlashCommandNodeView-Dt6n1SP9.js → SlashCommandNodeView-qwW9cuYt.js} +10 -10
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.js +2 -2
- package/lib/{Table-DdEgaUwa.js → Table-BKM8SvVj.js} +115 -97
- package/lib/{Table-C5JxBXef.cjs → Table-CWI7tKme.cjs} +5 -5
- package/lib/Table.cjs +1 -1
- package/lib/Table.js +1 -1
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.js +2 -2
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.js +11 -11
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.js +3 -3
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.js +2 -2
- package/lib/Twitter-BfsPzA8_.cjs +1 -0
- package/lib/{Twitter-Dnz9qyW0.js → Twitter-CofLQ-zj.js} +191 -191
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.js +3 -3
- package/lib/Video.cjs +1 -1
- package/lib/Video.js +3 -3
- package/lib/bubble.cjs +6 -6
- package/lib/bubble.js +2504 -2152
- package/lib/{clsx-D6gYQn3o.cjs → clsx-DJURdKPs.cjs} +2 -2
- package/lib/{clsx-0OU6n9va.js → clsx-b_2OwHLk.js} +28 -18
- package/lib/components/Bubble/RichTextBubbleCallout.d.ts +1 -1
- package/lib/components/Bubble/RichTextBubbleCodeBlock.d.ts +1 -1
- package/lib/components/Bubble/RichTextBubbleColumns.d.ts +1 -1
- package/lib/components/Bubble/RichTextBubbleDrawer.d.ts +1 -1
- package/lib/components/Bubble/RichTextBubbleExcalidraw.d.ts +1 -1
- package/lib/components/Bubble/RichTextBubbleIframe.d.ts +1 -1
- package/lib/components/Bubble/RichTextBubbleKatex.d.ts +2 -1
- package/lib/components/Bubble/RichTextBubbleLink.d.ts +1 -1
- package/lib/components/Bubble/RichTextBubbleMedia.d.ts +3 -3
- package/lib/components/Bubble/RichTextBubbleMenuDragHandle.d.ts +2 -1
- package/lib/components/Bubble/RichTextBubbleMermaid.d.ts +1 -1
- package/lib/components/Bubble/RichTextBubbleTable.d.ts +1 -1
- package/lib/components/Bubble/RichTextBubbleText.d.ts +1 -1
- package/lib/components/Bubble/RichTextBubbleTwitter.d.ts +1 -1
- package/lib/components/ColorPicker.d.ts +1 -1
- package/lib/components/ReactBus.d.ts +1 -1
- package/lib/components/RichTextProvider.d.ts +1 -1
- package/lib/components/SlashDialogTrigger/RenderDialogUploadImage.d.ts +1 -1
- package/lib/components/SlashDialogTrigger/RenderDialogUploadVideo.d.ts +1 -1
- package/lib/components/SlashDialogTrigger/SlashDialogTrigger.d.ts +2 -1
- package/lib/components/icons/Activity.d.ts +2 -1
- package/lib/components/icons/Animas.d.ts +2 -1
- package/lib/components/icons/AspectRatio.d.ts +1 -1
- package/lib/components/icons/Blockquote.d.ts +1 -1
- package/lib/components/icons/CodeView.d.ts +1 -1
- package/lib/components/icons/ColumnAddLeft.d.ts +1 -1
- package/lib/components/icons/ColumnAddRight.d.ts +1 -1
- package/lib/components/icons/DeleteColumn.d.ts +1 -1
- package/lib/components/icons/DeleteRow.d.ts +1 -1
- package/lib/components/icons/Direction.d.ts +1 -1
- package/lib/components/icons/Excalidraw.d.ts +1 -1
- package/lib/components/icons/ExportPdf.d.ts +1 -1
- package/lib/components/icons/ExportWord.d.ts +2 -1
- package/lib/components/icons/FileWordOutline.d.ts +1 -1
- package/lib/components/icons/Flag.d.ts +2 -1
- package/lib/components/icons/Food.d.ts +2 -1
- package/lib/components/icons/GIfIcon.d.ts +1 -1
- package/lib/components/icons/Html.d.ts +1 -1
- package/lib/components/icons/Icon.d.ts +1 -1
- package/lib/components/icons/IconColorFill.d.ts +1 -1
- package/lib/components/icons/IconHighlightFill.d.ts +1 -1
- package/lib/components/icons/ImportWord.d.ts +2 -1
- package/lib/components/icons/LeftToRight.d.ts +1 -1
- package/lib/components/icons/LineHeight.d.ts +1 -1
- package/lib/components/icons/MenuDown.d.ts +1 -1
- package/lib/components/icons/Mermaid.d.ts +1 -1
- package/lib/components/icons/NoFill.d.ts +1 -1
- package/lib/components/icons/Object.d.ts +2 -1
- package/lib/components/icons/RightToLeft.d.ts +1 -1
- package/lib/components/icons/SizeL.d.ts +1 -1
- package/lib/components/icons/SizeM.d.ts +1 -1
- package/lib/components/icons/SizeS.d.ts +1 -1
- package/lib/components/icons/Symbol.d.ts +2 -1
- package/lib/components/icons/Travel.d.ts +2 -1
- package/lib/components/icons/Twitter.d.ts +1 -1
- package/lib/components/ui/dialog.d.ts +2 -2
- package/lib/components/ui/dropdown-menu.d.ts +1 -1
- package/lib/components/ui/emoji-picker.d.ts +4 -4
- package/lib/components/ui/toaster.d.ts +1 -1
- package/lib/{dropdown-menu-yQ-sQ1k4.cjs → dropdown-menu-CEMxzgnU.cjs} +1 -1
- package/lib/{dropdown-menu-ROihzXsP.js → dropdown-menu-CKAKsyqu.js} +1 -1
- package/lib/extensions/Attachment/components/NodeViewAttachment/FileIcon.d.ts +1 -1
- package/lib/extensions/Attachment/components/NodeViewAttachment/NodeViewAttachment.d.ts +1 -1
- package/lib/extensions/Attachment/components/RichTextAttachment.d.ts +1 -1
- package/lib/extensions/Blockquote/components/RichTextBlockquote.d.ts +1 -1
- package/lib/extensions/Bold/components/RichTextBold.d.ts +1 -1
- package/lib/extensions/BulletList/components/RichTextBulletList.d.ts +1 -1
- package/lib/extensions/Callout/components/NodeViewCallout/NodeViewCallout.d.ts +1 -1
- package/lib/extensions/Callout/components/RichTextCallout.d.ts +1 -1
- package/lib/extensions/Clear/components/RichTextClear.d.ts +1 -1
- package/lib/extensions/Code/components/RichTextCode.d.ts +1 -1
- package/lib/extensions/CodeBlock/components/RichTextCodeBlock.d.ts +2 -1
- package/lib/extensions/CodeView/components/RichTextCodeView.d.ts +1 -1
- package/lib/extensions/Color/components/RichTextColor.d.ts +1 -1
- package/lib/extensions/Column/Column.d.ts +10 -2
- package/lib/extensions/Column/components/RichTextColumn.d.ts +1 -1
- package/lib/extensions/Drawer/components/ControlDrawer/ControlDrawer.d.ts +2 -1
- package/lib/extensions/Drawer/components/ControlDrawer/icon.d.ts +27 -27
- package/lib/extensions/Drawer/components/EditDrawerBlock.d.ts +1 -1
- package/lib/extensions/Drawer/components/NodeViewDrawer/NodeViewDrawer.d.ts +2 -1
- package/lib/extensions/Drawer/components/RichTextDrawer.d.ts +1 -1
- package/lib/extensions/Emoji/components/RichTextEmoji.d.ts +2 -1
- package/lib/extensions/Excalidraw/components/NodeViewExcalidraw/NodeViewExcalidraw.d.ts +2 -1
- package/lib/extensions/Excalidraw/components/RichTextExcalidraw.d.ts +1 -1
- package/lib/extensions/ExportPdf/components/RichTextExportPdf.d.ts +1 -1
- package/lib/extensions/ExportWord/components/RichTextExportWord.d.ts +1 -1
- package/lib/extensions/FontFamily/components/RichTextFontFamily.d.ts +1 -1
- package/lib/extensions/FontSize/components/RichTextFontSize.d.ts +1 -1
- package/lib/extensions/FormatPainter/FormatPainter.d.ts +17 -0
- package/lib/extensions/FormatPainter/components/RichTextFormatPainter.d.ts +1 -0
- package/lib/extensions/FormatPainter/index.d.ts +1 -0
- package/lib/extensions/Heading/components/RichTextHeading.d.ts +1 -1
- package/lib/extensions/Highlight/components/RichTextHighlight.d.ts +2 -1
- package/lib/extensions/History/components/RichTextHistory.d.ts +3 -2
- package/lib/extensions/HorizontalRule/components/RichTextHorizontalRule.d.ts +1 -1
- package/lib/extensions/Iframe/components/IframeNodeView.d.ts +1 -1
- package/lib/extensions/Iframe/components/RichTextIframe.d.ts +1 -1
- package/lib/extensions/Image/Image.d.ts +13 -1
- package/lib/extensions/Image/components/ImageCropper.d.ts +2 -1
- package/lib/extensions/Image/components/ImageView.d.ts +2 -1
- package/lib/extensions/Image/components/RichTextImage.d.ts +1 -1
- package/lib/extensions/ImageGif/components/ImageGifView.d.ts +2 -1
- package/lib/extensions/ImageGif/components/RichTextImageGif.d.ts +2 -1
- package/lib/extensions/ImportWord/components/RichTextImportWord.d.ts +1 -1
- package/lib/extensions/Indent/components/RichTextIndent.d.ts +1 -1
- package/lib/extensions/Italic/components/RichTextItalic.d.ts +1 -1
- package/lib/extensions/Katex/components/KatexWrapper.d.ts +1 -1
- package/lib/extensions/Katex/components/RichTextKatex.d.ts +1 -1
- package/lib/extensions/LineHeight/components/RichTextLightHeight.d.ts +1 -1
- package/lib/extensions/Link/components/LinkEditBlock.d.ts +1 -1
- package/lib/extensions/Link/components/LinkViewBlock.d.ts +2 -1
- package/lib/extensions/Link/components/RichTextLink.d.ts +1 -1
- package/lib/extensions/Mermaid/components/NodeViewMermaid/NodeViewMermaid.d.ts +2 -1
- package/lib/extensions/Mermaid/components/RichTextMermaid.d.ts +1 -1
- package/lib/extensions/MoreMark/components/RichTextMoreMark.d.ts +1 -1
- package/lib/extensions/OrderedList/components/RichTextOrderedList.d.ts +1 -1
- package/lib/extensions/SearchAndReplace/components/RichTextSearchAndReplace.d.ts +1 -1
- package/lib/extensions/SlashCommand/components/SlashCommandList.d.ts +1 -1
- package/lib/extensions/Strike/components/RichTextStrike.d.ts +1 -1
- package/lib/extensions/Table/components/CreateTablePopover.d.ts +2 -1
- package/lib/extensions/Table/components/RichTextTable.d.ts +2 -1
- package/lib/extensions/TaskList/components/RichTextTaskList.d.ts +1 -1
- package/lib/extensions/TextAlign/components/RichTextAlign.d.ts +1 -1
- package/lib/extensions/TextDirection/components/RichTextTextDirection.d.ts +1 -1
- package/lib/extensions/TextUnderline/components/RichTextUnderline.d.ts +1 -1
- package/lib/extensions/Twitter/components/FormEditLinkTwitter.d.ts +1 -1
- package/lib/extensions/Twitter/components/NodeViewTweet.d.ts +1 -1
- package/lib/extensions/Twitter/components/RichTextTwitter.d.ts +1 -1
- package/lib/extensions/Video/components/RichTextVideo.d.ts +1 -1
- package/lib/index-BJQ1G8B1.js +311 -0
- package/lib/index-BO82_0q8.cjs +1 -0
- package/lib/{index-D-Ouz0vF.js → index-Bn_WPziX.js} +1 -1
- package/lib/index-CwbGrQFa.cjs +1 -0
- package/lib/{index-oj858lQO.js → index-DKruDABV.js} +209 -209
- package/lib/{index-BAb_UADw.cjs → index-DN-IR-K0.cjs} +1 -1
- package/lib/{index-X6WZUM9O.js → index-DRcwHivm.js} +1702 -1486
- package/lib/index-DUeBQoIA.cjs +1 -0
- package/lib/index-DeoYYWEA.js +1756 -0
- package/lib/{index-CUvjYuRp.cjs → index-Dgs2thVL.cjs} +1 -1
- package/lib/index-DjB2kNdz.js +1120 -0
- package/lib/{index-zw-Kd38i.js → index-DuWMq-Qs.js} +1 -1
- package/lib/index-EoGU7W4e.cjs +26 -0
- package/lib/index-MDz4NZcT.cjs +12 -0
- package/lib/{index-BblvcbTH.js → index-n4kM0Ll-.js} +1527 -1406
- package/lib/index-qZURFC5Q.cjs +2 -0
- package/lib/index.cjs +1 -1
- package/lib/index.js +2 -2
- package/lib/{jsx-runtime-CT7Pcg-t.js → jsx-runtime-DE8oVoME.js} +3 -1
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.js +1 -1
- package/lib/locales/index.d.ts +1 -1
- package/lib/{popover-BfWFqCIs.js → popover-Beieacfy.js} +1 -1
- package/lib/{popover-BPzkMuyi.cjs → popover-Bl1kxRJX.cjs} +1 -1
- package/lib/{renderNodeView-D--fDFov.cjs → renderNodeView-BIgT6Ghg.cjs} +1 -1
- package/lib/{renderNodeView-CfWJK4rG.js → renderNodeView-Bi58v3DZ.js} +2 -2
- package/lib/{separator-DpaS43Gt.cjs → separator-DMLtkcoo.cjs} +1 -1
- package/lib/{separator-CBPrZizK.js → separator-DfvK668q.js} +11 -11
- package/lib/store/EditorEditableReactive.d.ts +1 -1
- package/lib/store/ThemeColorReactive.d.ts +1 -1
- package/lib/style.css +1 -1
- package/lib/{textarea-wvARZKyA.cjs → textarea-DV9Fw3y1.cjs} +1 -1
- package/lib/{textarea-Bl64keav.js → textarea-GXaWJbm9.js} +1 -1
- package/lib/theme.cjs +1 -1
- package/lib/theme.js +1 -1
- package/lib/types.d.ts +2 -2
- package/lib/{updatePosition-BwzAsiY0.js → updatePosition-DY1jI7qb.js} +2 -2
- package/lib/{updatePosition-DGPtRfWN.cjs → updatePosition-D_D-TbEu.cjs} +1 -1
- package/package.json +86 -72
- package/lib/Twitter--tfifMt1.cjs +0 -1
- package/lib/index-BF3EVCB1.cjs +0 -2
- package/lib/index-BG0kQamI.js +0 -285
- package/lib/index-Bcj8cyOO.cjs +0 -24
- package/lib/index-CGjT-a9h.js +0 -1377
- package/lib/index-CPTpXLfX.cjs +0 -11
- package/lib/index-CWw4s87s.cjs +0 -1
- package/lib/index-Cal5SPfB.js +0 -779
- package/lib/index-Gi752TMk.cjs +0 -1
- package/lib/index-NsYff_Ni.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextBlockquote(): import("react
|
|
1
|
+
export declare function RichTextBlockquote(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextBold(): import("react
|
|
1
|
+
export declare function RichTextBold(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextBulletList(): import("react
|
|
1
|
+
export declare function RichTextBulletList(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function NodeViewCallout({ node }: any): import("react
|
|
1
|
+
export declare function NodeViewCallout({ node }: any): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextCallout(): import("react
|
|
1
|
+
export declare function RichTextCallout(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextClear(): import("react
|
|
1
|
+
export declare function RichTextClear(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextCode(): import("react
|
|
1
|
+
export declare function RichTextCode(): import("react").JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare function RichTextCodeBlock(): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextCodeView(): import("react
|
|
1
|
+
export declare function RichTextCodeView(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextColor(): import("react
|
|
1
|
+
export declare function RichTextColor(): import("react").JSX.Element;
|
|
@@ -13,5 +13,13 @@ declare module '@tiptap/core' {
|
|
|
13
13
|
}
|
|
14
14
|
export * from './components/RichTextColumn';
|
|
15
15
|
export declare const Column: Extension<any, any>;
|
|
16
|
-
export declare const ColumnNode: Node<
|
|
17
|
-
|
|
16
|
+
export declare const ColumnNode: Node<{
|
|
17
|
+
HTMLAttributes: {
|
|
18
|
+
class: string;
|
|
19
|
+
};
|
|
20
|
+
}, any>;
|
|
21
|
+
export declare const MultipleColumnNode: Node<{
|
|
22
|
+
HTMLAttributes: {
|
|
23
|
+
class: string;
|
|
24
|
+
};
|
|
25
|
+
}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextColumn(): import("react
|
|
1
|
+
export declare function RichTextColumn(): import("react").JSX.Element;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
-
export declare function HugeiconsCursorRectangleSelection01(props: SVGProps<SVGSVGElement>): import("react
|
|
3
|
-
export declare function MdiFormatLetterCase(props: SVGProps<SVGSVGElement>): import("react
|
|
4
|
-
export declare function MaterialSymbolsEdit(props: SVGProps<SVGSVGElement>): import("react
|
|
5
|
-
export declare function PhHighlighter(props: SVGProps<SVGSVGElement>): import("react
|
|
6
|
-
export declare function OuiEraser(props: SVGProps<SVGSVGElement>): import("react
|
|
7
|
-
export declare function MdiSquareOutline(props: SVGProps<SVGSVGElement>): import("react
|
|
8
|
-
export declare function MaterialSymbolsRectangleOutline(props: SVGProps<SVGSVGElement>): import("react
|
|
9
|
-
export declare function MaterialSymbolsCircleOutline(props: SVGProps<SVGSVGElement>): import("react
|
|
10
|
-
export declare function TablerTriangle(props: SVGProps<SVGSVGElement>): import("react
|
|
11
|
-
export declare function MaterialSymbolsHexagonOutline(props: SVGProps<SVGSVGElement>): import("react
|
|
12
|
-
export declare function MingcuteDiamondSquareLine(props: SVGProps<SVGSVGElement>): import("react
|
|
13
|
-
export declare function IcSharpArrowRightAlt(props: SVGProps<SVGSVGElement>): import("react
|
|
14
|
-
export declare function SolarUndoLeftRoundBold(props: SVGProps<SVGSVGElement>): import("react
|
|
15
|
-
export declare function SolarUndoRightRoundBold(props: SVGProps<SVGSVGElement>): import("react
|
|
16
|
-
export declare function MaterialSymbolsDelete(props: SVGProps<SVGSVGElement>): import("react
|
|
17
|
-
export declare function HugeiconsSvg01(props: SVGProps<SVGSVGElement>): import("react
|
|
18
|
-
export declare function GardenUploadStroke12(props: SVGProps<SVGSVGElement>): import("react
|
|
19
|
-
export declare function HugeiconsPng01(props: SVGProps<SVGSVGElement>): import("react
|
|
20
|
-
export declare function IcSharpGrid4x4(props: SVGProps<SVGSVGElement>): import("react
|
|
21
|
-
export declare function AkarIconsDotGridFill(props: SVGProps<SVGSVGElement>): import("react
|
|
22
|
-
export declare function MageImageUpload(props: SVGProps<SVGSVGElement>): import("react
|
|
23
|
-
export declare function FluentColorBackground24Filled(props: SVGProps<SVGSVGElement>): import("react
|
|
24
|
-
export declare function PhLineSegmentFill(props: SVGProps<SVGSVGElement>): import("react
|
|
25
|
-
export declare function IcSharpFavorite(props: SVGProps<SVGSVGElement>): import("react
|
|
26
|
-
export declare function MaterialSymbolsKidStar(props: SVGProps<SVGSVGElement>): import("react
|
|
27
|
-
export declare function MaterialSymbolsCloud(props: SVGProps<SVGSVGElement>): import("react
|
|
28
|
-
export declare function AkarIconsParallelogram(props: SVGProps<SVGSVGElement>): import("react
|
|
2
|
+
export declare function HugeiconsCursorRectangleSelection01(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
3
|
+
export declare function MdiFormatLetterCase(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
4
|
+
export declare function MaterialSymbolsEdit(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
5
|
+
export declare function PhHighlighter(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
6
|
+
export declare function OuiEraser(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
7
|
+
export declare function MdiSquareOutline(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
8
|
+
export declare function MaterialSymbolsRectangleOutline(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
9
|
+
export declare function MaterialSymbolsCircleOutline(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
10
|
+
export declare function TablerTriangle(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
11
|
+
export declare function MaterialSymbolsHexagonOutline(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
12
|
+
export declare function MingcuteDiamondSquareLine(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
13
|
+
export declare function IcSharpArrowRightAlt(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
14
|
+
export declare function SolarUndoLeftRoundBold(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
15
|
+
export declare function SolarUndoRightRoundBold(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
16
|
+
export declare function MaterialSymbolsDelete(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
17
|
+
export declare function HugeiconsSvg01(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
18
|
+
export declare function GardenUploadStroke12(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
19
|
+
export declare function HugeiconsPng01(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
20
|
+
export declare function IcSharpGrid4x4(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
21
|
+
export declare function AkarIconsDotGridFill(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
22
|
+
export declare function MageImageUpload(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
23
|
+
export declare function FluentColorBackground24Filled(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
24
|
+
export declare function PhLineSegmentFill(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
25
|
+
export declare function IcSharpFavorite(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
26
|
+
export declare function MaterialSymbolsKidStar(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
27
|
+
export declare function MaterialSymbolsCloud(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
28
|
+
export declare function AkarIconsParallelogram(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function EditDrawerBlock({ editor, attrs, extension }: any): import("react
|
|
1
|
+
export declare function EditDrawerBlock({ editor, attrs, extension }: any): import("react").JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare function NodeViewDrawer({ editor, node, updateAttributes, getPos, selected }: any): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextDrawer(): import("react
|
|
1
|
+
export declare function RichTextDrawer(): import("react").JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare function RichTextEmoji(): React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
declare function NodeViewExcalidraw({ editor, node, updateAttributes }: any): React.JSX.Element;
|
|
2
3
|
export default NodeViewExcalidraw;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextExcalidraw(): import("react
|
|
1
|
+
export declare function RichTextExcalidraw(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextExportPdf(): import("react
|
|
1
|
+
export declare function RichTextExportPdf(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextExportWord(): import("react
|
|
1
|
+
export declare function RichTextExportWord(): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Extension } from '@tiptap/core';
|
|
2
|
+
import { Mark } from '@tiptap/pm/model';
|
|
3
|
+
import { PluginKey } from '@tiptap/pm/state';
|
|
4
|
+
import { GeneralOptions } from '../../types';
|
|
5
|
+
export * from './components/RichTextFormatPainter';
|
|
6
|
+
export type FormatPainterOptions = GeneralOptions<unknown>;
|
|
7
|
+
type FormatPainterState = Mark[];
|
|
8
|
+
export declare const formatPainterPluginKey: PluginKey<FormatPainterState>;
|
|
9
|
+
declare module '@tiptap/core' {
|
|
10
|
+
interface Commands<ReturnType> {
|
|
11
|
+
painter: {
|
|
12
|
+
setPainter: () => ReturnType;
|
|
13
|
+
unsetPainter: () => ReturnType;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export declare const FormatPainter: Extension<FormatPainterOptions, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function RichTextFormatPainter(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FormatPainter';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare function RichTextHighlight(): React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare function RichTextUndo(): React.JSX.Element;
|
|
3
|
+
export declare function RichTextRedo(): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextHorizontalRule(): import("react
|
|
1
|
+
export declare function RichTextHorizontalRule(): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function IframeNodeView({ editor, node, updateAttributes }: any): import("react
|
|
1
|
+
declare function IframeNodeView({ editor, node, updateAttributes }: any): import("react").JSX.Element;
|
|
2
2
|
export default IframeNodeView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextIframe(): import("react
|
|
1
|
+
export declare function RichTextIframe(): import("react").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { GeneralOptions } from '../../types';
|
|
1
|
+
import { GeneralOptions, JSONContent } from '../../types';
|
|
2
2
|
export * from './components/RichTextImage';
|
|
3
|
+
export declare const IMAGE_BLOCK_NAME = "imageBlock";
|
|
3
4
|
export interface SetImageAttrsOptions {
|
|
4
5
|
src?: string;
|
|
5
6
|
/** The alternative text for the image. */
|
|
@@ -18,6 +19,12 @@ export interface SetImageAttrsOptions {
|
|
|
18
19
|
flipY?: boolean;
|
|
19
20
|
}
|
|
20
21
|
export declare const DEFAULT_OPTIONS: any;
|
|
22
|
+
/**
|
|
23
|
+
* Converts old JSON documents that stored block images as paragraph-wrapped `image`
|
|
24
|
+
* inline nodes into the new `imageBlock` node. The original `image` node remains
|
|
25
|
+
* supported, so using this helper is optional and can be done during persistence migration.
|
|
26
|
+
*/
|
|
27
|
+
export declare function migrateImageJSONToImageBlock(content: JSONContent): JSONContent;
|
|
21
28
|
declare module '@tiptap/core' {
|
|
22
29
|
interface Commands<ReturnType> {
|
|
23
30
|
imageUpload: {
|
|
@@ -25,6 +32,10 @@ declare module '@tiptap/core' {
|
|
|
25
32
|
* Add an image
|
|
26
33
|
*/
|
|
27
34
|
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
35
|
+
/**
|
|
36
|
+
* Add a block image
|
|
37
|
+
*/
|
|
38
|
+
setImageBlock: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
28
39
|
/**
|
|
29
40
|
* Update an image
|
|
30
41
|
*/
|
|
@@ -54,4 +65,5 @@ export interface IImageOptions extends GeneralOptions<IImageOptions> {
|
|
|
54
65
|
file?: File;
|
|
55
66
|
}) => void;
|
|
56
67
|
}
|
|
68
|
+
export declare const ImageBlock: import('@tiptap/core').Node<IImageOptions, any>;
|
|
57
69
|
export declare const Image: import('@tiptap/core').Node<IImageOptions, any>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare function ImageCropper({ editor, imageInline, onClose, onOpenChange, disabled, alt }: any): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextImage(): import("react
|
|
1
|
+
export declare function RichTextImage(): import("react").JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare function RichTextImageGif(): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextImportWord(): import("react
|
|
1
|
+
export declare function RichTextImportWord(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextIndent(): import("react
|
|
1
|
+
export declare function RichTextIndent(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextItalic(): import("react
|
|
1
|
+
export declare function RichTextItalic(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function KatexNodeView({ node }: any): import("react
|
|
1
|
+
export declare function KatexNodeView({ node }: any): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextKatex(): import("react
|
|
1
|
+
export declare function RichTextKatex(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextLineHeight(): import("react
|
|
1
|
+
export declare function RichTextLineHeight(): import("react").JSX.Element;
|
|
@@ -5,5 +5,5 @@ interface IPropsLinkEditBlock {
|
|
|
5
5
|
target?: string;
|
|
6
6
|
onClose?: () => void;
|
|
7
7
|
}
|
|
8
|
-
declare function LinkEditBlock(props: IPropsLinkEditBlock): import("react
|
|
8
|
+
declare function LinkEditBlock(props: IPropsLinkEditBlock): import("react").JSX.Element;
|
|
9
9
|
export default LinkEditBlock;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
interface IPropsLinkViewBlock {
|
|
2
3
|
editor: any;
|
|
3
4
|
link: string;
|
|
4
5
|
onClear?: any;
|
|
5
6
|
onEdit?: any;
|
|
6
7
|
}
|
|
7
|
-
declare function LinkViewBlock(props: IPropsLinkViewBlock):
|
|
8
|
+
declare function LinkViewBlock(props: IPropsLinkViewBlock): React.JSX.Element;
|
|
8
9
|
export default LinkViewBlock;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextLink(): import("react
|
|
1
|
+
export declare function RichTextLink(): import("react").JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare function NodeViewMermaid({ editor, node, updateAttributes, getPos, selected }: any): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextMermaid(): import("react
|
|
1
|
+
export declare function RichTextMermaid(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextOrderedList(): import("react
|
|
1
|
+
export declare function RichTextOrderedList(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextSearchAndReplace(): import("react
|
|
1
|
+
export declare function RichTextSearchAndReplace(): import("react").JSX.Element;
|
|
@@ -2,5 +2,5 @@ import { CommandList } from '../types';
|
|
|
2
2
|
interface SlashCommandListProps {
|
|
3
3
|
commandList?: CommandList[];
|
|
4
4
|
}
|
|
5
|
-
export declare function SlashCommandList({ commandList }: SlashCommandListProps): import("react
|
|
5
|
+
export declare function SlashCommandList({ commandList }: SlashCommandListProps): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextStrike(): import("react
|
|
1
|
+
export declare function RichTextStrike(): import("react").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
interface IPropsCreateTablePopover {
|
|
2
3
|
createTable: any;
|
|
3
4
|
children: any;
|
|
4
5
|
dataState?: any;
|
|
5
6
|
}
|
|
6
|
-
declare function CreateTablePopover(props: IPropsCreateTablePopover):
|
|
7
|
+
declare function CreateTablePopover(props: IPropsCreateTablePopover): React.JSX.Element;
|
|
7
8
|
export default CreateTablePopover;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare function RichTextTable(): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextTaskList(): import("react
|
|
1
|
+
export declare function RichTextTaskList(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextUnderline(): import("react
|
|
1
|
+
export declare function RichTextUnderline(): import("react").JSX.Element;
|
|
@@ -2,5 +2,5 @@ interface IPropsFormEditLinkTwitter {
|
|
|
2
2
|
editor: any;
|
|
3
3
|
onSetLink: (src: string) => void;
|
|
4
4
|
}
|
|
5
|
-
declare function FormEditLinkTwitter(props: IPropsFormEditLinkTwitter): import("react
|
|
5
|
+
declare function FormEditLinkTwitter(props: IPropsFormEditLinkTwitter): import("react").JSX.Element;
|
|
6
6
|
export default FormEditLinkTwitter;
|
|
@@ -4,5 +4,5 @@ export declare const TWITTER_REGEX: RegExp;
|
|
|
4
4
|
export declare function isValidTwitterUrl(url: string): RegExpMatchArray | null;
|
|
5
5
|
declare function NodeViewTweet({ node }: {
|
|
6
6
|
node: Partial<ReactNodeViewRendererOptions>;
|
|
7
|
-
}): import("react
|
|
7
|
+
}): import("react").JSX.Element | null;
|
|
8
8
|
export default NodeViewTweet;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextTwitter(): import("react
|
|
1
|
+
export declare function RichTextTwitter(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function RichTextVideo(): import("react
|
|
1
|
+
export declare function RichTextVideo(): import("react").JSX.Element;
|