@tiptap/react 2.11.7 → 3.0.0-beta.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.
Files changed (59) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +5 -1
  3. package/dist/index.cjs +967 -1473
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +345 -0
  6. package/dist/index.d.ts +344 -12
  7. package/dist/index.js +916 -1452
  8. package/dist/index.js.map +1 -1
  9. package/dist/menus/index.cjs +142 -0
  10. package/dist/menus/index.cjs.map +1 -0
  11. package/dist/menus/index.d.cts +19 -0
  12. package/dist/menus/index.d.ts +19 -0
  13. package/dist/menus/index.js +104 -0
  14. package/dist/menus/index.js.map +1 -0
  15. package/package.json +30 -18
  16. package/src/Context.tsx +18 -15
  17. package/src/Editor.ts +8 -8
  18. package/src/EditorContent.tsx +14 -22
  19. package/src/NodeViewContent.tsx +12 -8
  20. package/src/NodeViewWrapper.tsx +2 -2
  21. package/src/ReactMarkViewRenderer.tsx +109 -0
  22. package/src/ReactNodeViewRenderer.tsx +32 -50
  23. package/src/ReactRenderer.tsx +17 -26
  24. package/src/index.ts +1 -2
  25. package/src/menus/BubbleMenu.tsx +68 -0
  26. package/src/menus/FloatingMenu.tsx +68 -0
  27. package/src/menus/index.ts +2 -0
  28. package/src/useEditor.ts +32 -26
  29. package/src/useEditorState.ts +14 -19
  30. package/src/useReactNodeView.ts +21 -5
  31. package/dist/BubbleMenu.d.ts +0 -12
  32. package/dist/BubbleMenu.d.ts.map +0 -1
  33. package/dist/Context.d.ts +0 -25
  34. package/dist/Context.d.ts.map +0 -1
  35. package/dist/Editor.d.ts +0 -14
  36. package/dist/Editor.d.ts.map +0 -1
  37. package/dist/EditorContent.d.ts +0 -21
  38. package/dist/EditorContent.d.ts.map +0 -1
  39. package/dist/FloatingMenu.d.ts +0 -11
  40. package/dist/FloatingMenu.d.ts.map +0 -1
  41. package/dist/NodeViewContent.d.ts +0 -7
  42. package/dist/NodeViewContent.d.ts.map +0 -1
  43. package/dist/NodeViewWrapper.d.ts +0 -7
  44. package/dist/NodeViewWrapper.d.ts.map +0 -1
  45. package/dist/ReactNodeViewRenderer.d.ts +0 -96
  46. package/dist/ReactNodeViewRenderer.d.ts.map +0 -1
  47. package/dist/ReactRenderer.d.ts +0 -71
  48. package/dist/ReactRenderer.d.ts.map +0 -1
  49. package/dist/index.d.ts.map +0 -1
  50. package/dist/index.umd.js +0 -1540
  51. package/dist/index.umd.js.map +0 -1
  52. package/dist/useEditor.d.ts +0 -39
  53. package/dist/useEditor.d.ts.map +0 -1
  54. package/dist/useEditorState.d.ts +0 -45
  55. package/dist/useEditorState.d.ts.map +0 -1
  56. package/dist/useReactNodeView.d.ts +0 -7
  57. package/dist/useReactNodeView.d.ts.map +0 -1
  58. package/src/BubbleMenu.tsx +0 -57
  59. package/src/FloatingMenu.tsx +0 -64
package/dist/Editor.d.ts DELETED
@@ -1,14 +0,0 @@
1
- import { Editor } from '@tiptap/core';
2
- import { ReactPortal } from 'react';
3
- import { ReactRenderer } from './ReactRenderer.js';
4
- export type EditorWithContentComponent = Editor & {
5
- contentComponent?: ContentComponent | null;
6
- };
7
- export type ContentComponent = {
8
- setRenderer(id: string, renderer: ReactRenderer): void;
9
- removeRenderer(id: string): void;
10
- subscribe: (callback: () => void) => () => void;
11
- getSnapshot: () => Record<string, ReactPortal>;
12
- getServerSnapshot: () => Record<string, ReactPortal>;
13
- };
14
- //# sourceMappingURL=Editor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../src/Editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAEnC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAElD,MAAM,MAAM,0BAA0B,GAAG,MAAM,GAAG;IAAE,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAA;CAAE,CAAA;AAChG,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;IACvD,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAC;IAChD,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAC/C,iBAAiB,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;CACtD,CAAA"}
@@ -1,21 +0,0 @@
1
- import { Editor } from '@tiptap/core';
2
- import React, { ForwardedRef, HTMLProps } from 'react';
3
- export interface EditorContentProps extends HTMLProps<HTMLDivElement> {
4
- editor: Editor | null;
5
- innerRef?: ForwardedRef<HTMLDivElement | null>;
6
- }
7
- export declare class PureEditorContent extends React.Component<EditorContentProps, {
8
- hasContentComponentInitialized: boolean;
9
- }> {
10
- editorContentRef: React.RefObject<any>;
11
- initialized: boolean;
12
- unsubscribeToContentComponent?: () => void;
13
- constructor(props: EditorContentProps);
14
- componentDidMount(): void;
15
- componentDidUpdate(): void;
16
- init(): void;
17
- componentWillUnmount(): void;
18
- render(): React.JSX.Element;
19
- }
20
- export declare const EditorContent: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<EditorContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>>;
21
- //# sourceMappingURL=EditorContent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditorContent.d.ts","sourceRoot":"","sources":["../src/EditorContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,KAAK,EAAE,EACZ,YAAY,EAAc,SAAS,EACpC,MAAM,OAAO,CAAA;AA0Cd,MAAM,WAAW,kBAAmB,SAAQ,SAAS,CAAC,cAAc,CAAC;IACnE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,YAAY,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CAChD;AA8CD,qBAAa,iBAAkB,SAAQ,KAAK,CAAC,SAAS,CACpD,kBAAkB,EAClB;IAAE,8BAA8B,EAAE,OAAO,CAAA;CAAE,CAC5C;IACC,gBAAgB,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;IAEtC,WAAW,EAAE,OAAO,CAAA;IAEpB,6BAA6B,CAAC,EAAE,MAAM,IAAI,CAAA;gBAE9B,KAAK,EAAE,kBAAkB;IAUrC,iBAAiB;IAIjB,kBAAkB;IAIlB,IAAI;IA4CJ,oBAAoB;IAkCpB,MAAM;CAWP;AAmBD,eAAO,MAAM,aAAa,mIAAmC,CAAA"}
@@ -1,11 +0,0 @@
1
- import { FloatingMenuPluginProps } from '@tiptap/extension-floating-menu';
2
- import React from 'react';
3
- type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
4
- export type FloatingMenuProps = Omit<Optional<FloatingMenuPluginProps, 'pluginKey'>, 'element' | 'editor'> & {
5
- editor: FloatingMenuPluginProps['editor'] | null;
6
- className?: string;
7
- children: React.ReactNode;
8
- };
9
- export declare const FloatingMenu: (props: FloatingMenuProps) => React.JSX.Element;
10
- export {};
11
- //# sourceMappingURL=FloatingMenu.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FloatingMenu.d.ts","sourceRoot":"","sources":["../src/FloatingMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAC7F,OAAO,KAEN,MAAM,OAAO,CAAA;AAId,KAAK,QAAQ,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;AAEtE,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,QAAQ,CAAC,uBAAuB,EAAE,WAAW,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC,GAAG;IAC3G,MAAM,EAAE,uBAAuB,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,YAAY,UAAW,iBAAiB,sBAgDpD,CAAA"}
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- export interface NodeViewContentProps {
3
- [key: string]: any;
4
- as?: React.ElementType;
5
- }
6
- export declare const NodeViewContent: React.FC<NodeViewContentProps>;
7
- //# sourceMappingURL=NodeViewContent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NodeViewContent.d.ts","sourceRoot":"","sources":["../src/NodeViewContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,oBAAoB;IACnC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CACxB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAgB1D,CAAA"}
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- export interface NodeViewWrapperProps {
3
- [key: string]: any;
4
- as?: React.ElementType;
5
- }
6
- export declare const NodeViewWrapper: React.FC<NodeViewWrapperProps>;
7
- //# sourceMappingURL=NodeViewWrapper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NodeViewWrapper.d.ts","sourceRoot":"","sources":["../src/NodeViewWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,oBAAoB;IACnC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CACxB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAiBzD,CAAA"}
@@ -1,96 +0,0 @@
1
- import { Editor, NodeView, NodeViewProps, NodeViewRenderer, NodeViewRendererOptions } from '@tiptap/core';
2
- import { Node, Node as ProseMirrorNode } from '@tiptap/pm/model';
3
- import { Decoration, DecorationSource } from '@tiptap/pm/view';
4
- import { ComponentType } from 'react';
5
- import { ReactRenderer } from './ReactRenderer.js';
6
- export interface ReactNodeViewRendererOptions extends NodeViewRendererOptions {
7
- /**
8
- * This function is called when the node view is updated.
9
- * It allows you to compare the old node with the new node and decide if the component should update.
10
- */
11
- update: ((props: {
12
- oldNode: ProseMirrorNode;
13
- oldDecorations: readonly Decoration[];
14
- oldInnerDecorations: DecorationSource;
15
- newNode: ProseMirrorNode;
16
- newDecorations: readonly Decoration[];
17
- innerDecorations: DecorationSource;
18
- updateProps: () => void;
19
- }) => boolean) | null;
20
- /**
21
- * The tag name of the element wrapping the React component.
22
- */
23
- as?: string;
24
- /**
25
- * The class name of the element wrapping the React component.
26
- */
27
- className?: string;
28
- /**
29
- * Attributes that should be applied to the element wrapping the React component.
30
- * If this is a function, it will be called each time the node view is updated.
31
- * If this is an object, it will be applied once when the node view is mounted.
32
- */
33
- attrs?: Record<string, string> | ((props: {
34
- node: ProseMirrorNode;
35
- HTMLAttributes: Record<string, any>;
36
- }) => Record<string, string>);
37
- }
38
- export declare class ReactNodeView<Component extends ComponentType<NodeViewProps> = ComponentType<NodeViewProps>, NodeEditor extends Editor = Editor, Options extends ReactNodeViewRendererOptions = ReactNodeViewRendererOptions> extends NodeView<Component, NodeEditor, Options> {
39
- /**
40
- * The renderer instance.
41
- */
42
- renderer: ReactRenderer<unknown, NodeViewProps>;
43
- /**
44
- * The element that holds the rich-text content of the node.
45
- */
46
- contentDOMElement: HTMLElement | null;
47
- /**
48
- * Setup the React component.
49
- * Called on initialization.
50
- */
51
- mount(): void;
52
- /**
53
- * Return the DOM element.
54
- * This is the element that will be used to display the node view.
55
- */
56
- get dom(): HTMLElement;
57
- /**
58
- * Return the content DOM element.
59
- * This is the element that will be used to display the rich-text content of the node.
60
- */
61
- get contentDOM(): HTMLElement | null;
62
- /**
63
- * On editor selection update, check if the node is selected.
64
- * If it is, call `selectNode`, otherwise call `deselectNode`.
65
- */
66
- handleSelectionUpdate(): void;
67
- /**
68
- * On update, update the React component.
69
- * To prevent unnecessary updates, the `update` option can be used.
70
- */
71
- update(node: Node, decorations: readonly Decoration[], innerDecorations: DecorationSource): boolean;
72
- /**
73
- * Select the node.
74
- * Add the `selected` prop and the `ProseMirror-selectednode` class.
75
- */
76
- selectNode(): void;
77
- /**
78
- * Deselect the node.
79
- * Remove the `selected` prop and the `ProseMirror-selectednode` class.
80
- */
81
- deselectNode(): void;
82
- /**
83
- * Destroy the React component instance.
84
- */
85
- destroy(): void;
86
- /**
87
- * Update the attributes of the top-level element that holds the React component.
88
- * Applying the attributes defined in the `attrs` option.
89
- */
90
- updateElementAttributes(): void;
91
- }
92
- /**
93
- * Create a React node view renderer.
94
- */
95
- export declare function ReactNodeViewRenderer(component: ComponentType<NodeViewProps>, options?: Partial<ReactNodeViewRendererOptions>): NodeViewRenderer;
96
- //# sourceMappingURL=ReactNodeViewRenderer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReactNodeViewRenderer.d.ts","sourceRoot":"","sources":["../src/ReactNodeViewRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EAEN,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,IAAI,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAChE,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAmC,MAAM,iBAAiB,CAAA;AAC/F,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;;;OAGG;IACH,IAAI,GAAG,IAQ2B,WAAW,CAC5C;IAED;;;OAGG;IACH,IAAI,UAAU,uBAMb;IAED;;;OAGG;IACH,qBAAqB;IAuBrB;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,SAAS,UAAU,EAAE,EAClC,gBAAgB,EAAE,gBAAgB,GACjC,OAAO;IAiDV;;;OAGG;IACH,UAAU;IAOV;;;OAGG;IACH,YAAY;IAOZ;;OAEG;IACH,OAAO;IAMP;;;OAGG;IACH,uBAAuB;CAgBxB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,aAAa,CAAC,aAAa,CAAC,EACvC,OAAO,CAAC,EAAE,OAAO,CAAC,4BAA4B,CAAC,GAC9C,gBAAgB,CAWlB"}
@@ -1,71 +0,0 @@
1
- import { Editor } from '@tiptap/core';
2
- import React from 'react';
3
- export interface ReactRendererOptions {
4
- /**
5
- * The editor instance.
6
- * @type {Editor}
7
- */
8
- editor: Editor;
9
- /**
10
- * The props for the component.
11
- * @type {Record<string, any>}
12
- * @default {}
13
- */
14
- props?: Record<string, any>;
15
- /**
16
- * The tag name of the element.
17
- * @type {string}
18
- * @default 'div'
19
- */
20
- as?: string;
21
- /**
22
- * The class name of the element.
23
- * @type {string}
24
- * @default ''
25
- * @example 'foo bar'
26
- */
27
- className?: string;
28
- }
29
- type ComponentType<R, P> = React.ComponentClass<P> | React.FunctionComponent<P> | React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<R>>;
30
- /**
31
- * The ReactRenderer class. It's responsible for rendering React components inside the editor.
32
- * @example
33
- * new ReactRenderer(MyComponent, {
34
- * editor,
35
- * props: {
36
- * foo: 'bar',
37
- * },
38
- * as: 'span',
39
- * })
40
- */
41
- export declare class ReactRenderer<R = unknown, P extends Record<string, any> = object> {
42
- id: string;
43
- editor: Editor;
44
- component: any;
45
- element: Element;
46
- props: P;
47
- reactElement: React.ReactNode;
48
- ref: R | null;
49
- /**
50
- * Immediately creates element and renders the provided React component.
51
- */
52
- constructor(component: ComponentType<R, P>, { editor, props, as, className, }: ReactRendererOptions);
53
- /**
54
- * Render the React component.
55
- */
56
- render(): void;
57
- /**
58
- * Re-renders the React component with new props.
59
- */
60
- updateProps(props?: Record<string, any>): void;
61
- /**
62
- * Destroy the React component.
63
- */
64
- destroy(): void;
65
- /**
66
- * Update the attributes of the element that holds the React component.
67
- */
68
- updateAttributes(attributes: Record<string, string>): void;
69
- }
70
- export {};
71
- //# sourceMappingURL=ReactRenderer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReactRenderer.d.ts","sourceRoot":"","sources":["../src/ReactRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,KAAK,MAAM,OAAO,CAAA;AA8BzB,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE5B;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,KAAK,aAAa,CAAC,CAAC,EAAE,CAAC,IACrB,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,GACvB,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,GAC1B,KAAK,CAAC,yBAAyB,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;AAErF;;;;;;;;;;EAUE;AACF,qBAAa,aAAa,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM;IAC5E,EAAE,EAAE,MAAM,CAAA;IAEV,MAAM,EAAE,MA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