@fileverse-dev/ddoc 1.8.5 → 2.0.0-beta
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/README.md +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +85666 -50821
- package/dist/package/common/toolbar-button.d.ts +9 -0
- package/dist/package/common/toolbar.d.ts +13 -0
- package/dist/{packages/ddoc → package}/components/bottom-toolbar.d.ts +3 -1
- package/dist/package/components/editor-toolbar.d.ts +9 -0
- package/dist/{packages/ddoc → package}/components/editor-utils.d.ts +1 -0
- package/dist/{packages/ddoc → package}/components/utils-modal.d.ts +1 -1
- package/dist/{packages/ddoc → package}/types.d.ts +1 -5
- package/dist/{packages/ddoc → package}/use-ddoc-editor.d.ts +4 -3
- package/dist/style.css +1 -1
- package/package.json +8 -7
- package/dist/App.d.ts +0 -2
- package/dist/index.umd.js +0 -604
- package/dist/main.d.ts +0 -1
- package/dist/packages/ddoc/common/button.d.ts +0 -22
- package/dist/packages/ddoc/common/dialog.d.ts +0 -19
- package/dist/packages/ddoc/common/drawer.d.ts +0 -25
- package/dist/packages/ddoc/common/textfield.d.ts +0 -28
- package/dist/packages/ddoc/common/toolbar.d.ts +0 -28
- package/dist/packages/ddoc/components/dynamic-modal.d.ts +0 -26
- package/dist/packages/ddoc/components/editor-toolbar.d.ts +0 -7
- package/dist/packages/ddoc/utils/CollaborationCursor.d.ts +0 -83
- /package/dist/{packages/ddoc → package}/common/carousel.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/common/cutsom-tooltip.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/common/dropdown.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/common/icon.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/common/spinner.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/common/surface.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/common/types.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/components/color-selector.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/components/editor-bubble-menu.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/components/node-selector.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/components/slash-comand.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/ddoc-editor.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/action-button/action-button-node-view.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/action-button/action-button.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/action-button/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/action-button/modal.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/custom-keymap.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/d-block/dblock-node-view.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/d-block/dblock.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/d-block/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/default-extension.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/doc.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/document/document.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/document/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/horizontal-rule.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/iframe/iframe.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/iframe/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/mardown-paste-handler/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/multi-column/column-selection.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/multi-column/column.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/multi-column/columns.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/multi-column/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/multi-column/menus/columns-menu.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/multi-column/menus/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/multi-column/utils.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/resizable-media/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/resizable-media/media-paste-drop-plugin/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/resizable-media/media-paste-drop-plugin/media-paste-drop-plugin.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/resizable-media/resizable-media-menu-util.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/resizable-media/resizable-media-node-view.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/resizable-media/resizable-media.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table/table-view.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table/table.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table/utilities/create-cell.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table/utilities/create-table.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table/utilities/delete-table-when-all-cells-selected.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table/utilities/get-table-node-types.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table/utilities/is-cell-selection.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table-cell/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table-cell/table-cell-node-view.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table-cell/table-cell.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table-header/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table-header/table-header.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table-row/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table-row/table-row-node-view.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table-row/table-row.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/supercharged-table/supercharged-table-kit.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/trailing-node/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/trailing-node/trailing-node.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/twitter-embed/embedded-tweet.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/twitter-embed/index.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/extensions/twitter-embed/tweet-component-node-view.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/hooks/use-content-item-actions.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/hooks/use-editing-context.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/hooks/use-visibility.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/utils/cursor.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/utils/debounce.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/utils/get-render-container.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/utils/getAddressName.d.ts +0 -0
- /package/dist/{packages/ddoc → package}/utils/upload-images.d.ts +0 -0
package/dist/main.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
export type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'ghost';
|
|
4
|
-
export type ButtonSize = 'medium' | 'small' | 'icon' | 'iconSmall';
|
|
5
|
-
export type ButtonProps = {
|
|
6
|
-
variant?: ButtonVariant;
|
|
7
|
-
active?: boolean;
|
|
8
|
-
activeClassname?: string;
|
|
9
|
-
buttonSize?: ButtonSize;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
isLoading?: boolean;
|
|
13
|
-
} & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
14
|
-
export declare const Button: React.ForwardRefExoticComponent<{
|
|
15
|
-
variant?: ButtonVariant;
|
|
16
|
-
active?: boolean;
|
|
17
|
-
activeClassname?: string;
|
|
18
|
-
buttonSize?: ButtonSize;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
className?: string;
|
|
21
|
-
isLoading?: boolean;
|
|
22
|
-
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
3
|
-
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
4
|
-
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
-
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
6
|
-
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const DialogHeader: {
|
|
10
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
declare const DialogFooter: {
|
|
14
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
18
|
-
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
19
|
-
export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { Drawer as DrawerPrimitive } from 'vaul';
|
|
3
|
-
|
|
4
|
-
declare const Drawer: {
|
|
5
|
-
({ shouldScaleBackground, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
8
|
-
declare const DrawerTrigger: React.ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
-
declare const DrawerPortal: React.FC<import('@radix-ui/react-dialog').DialogPortalProps>;
|
|
10
|
-
declare const DrawerClose: React.ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
-
declare const DrawerOverlay: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const DrawerContent: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
13
|
-
onAnimationEnd?: (open: boolean) => void;
|
|
14
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
declare const DrawerHeader: {
|
|
16
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
19
|
-
declare const DrawerFooter: {
|
|
20
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
displayName: string;
|
|
22
|
-
};
|
|
23
|
-
declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
24
|
-
declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
25
|
-
export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface TextFieldProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
-
/**
|
|
4
|
-
* The label for the text field.
|
|
5
|
-
*/
|
|
6
|
-
label?: string;
|
|
7
|
-
/**
|
|
8
|
-
* The left icon for the text field.
|
|
9
|
-
*/
|
|
10
|
-
leftIcon?: React.ReactNode;
|
|
11
|
-
/**
|
|
12
|
-
* The right icon for the text field.
|
|
13
|
-
*/
|
|
14
|
-
rightIcon?: React.ReactNode;
|
|
15
|
-
/**
|
|
16
|
-
* Whether the text field is valid.
|
|
17
|
-
*/
|
|
18
|
-
isValid?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* The helper text for the text field.
|
|
21
|
-
*/
|
|
22
|
-
message?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Event handler for the onChange event.
|
|
25
|
-
*/
|
|
26
|
-
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
27
|
-
}
|
|
28
|
-
export declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes, HTMLProps } from 'react';
|
|
2
|
-
import { ButtonProps } from './button';
|
|
3
|
-
|
|
4
|
-
export type ToolbarWrapperProps = {
|
|
5
|
-
shouldShowContent?: boolean;
|
|
6
|
-
isVertical?: boolean;
|
|
7
|
-
} & HTMLProps<HTMLDivElement>;
|
|
8
|
-
export type ToolbarDividerProps = {
|
|
9
|
-
horizontal?: boolean;
|
|
10
|
-
} & HTMLProps<HTMLDivElement>;
|
|
11
|
-
export type ToolbarButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
12
|
-
active?: boolean;
|
|
13
|
-
activeClassname?: string;
|
|
14
|
-
tooltip?: string;
|
|
15
|
-
buttonSize?: ButtonProps['buttonSize'];
|
|
16
|
-
variant?: ButtonProps['variant'];
|
|
17
|
-
};
|
|
18
|
-
export declare const Toolbar: {
|
|
19
|
-
Wrapper: import('react').ForwardRefExoticComponent<Omit<ToolbarWrapperProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
20
|
-
Divider: import('react').ForwardRefExoticComponent<Omit<ToolbarDividerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
21
|
-
Button: import('react').ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
22
|
-
active?: boolean;
|
|
23
|
-
activeClassname?: string;
|
|
24
|
-
tooltip?: string;
|
|
25
|
-
buttonSize?: ButtonProps["buttonSize"];
|
|
26
|
-
variant?: ButtonProps["variant"];
|
|
27
|
-
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
28
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ButtonVariant } from '../common/button';
|
|
3
|
-
|
|
4
|
-
interface DynamicModalProps {
|
|
5
|
-
title: string;
|
|
6
|
-
content: React.ReactNode;
|
|
7
|
-
contentClassName?: string;
|
|
8
|
-
open: boolean;
|
|
9
|
-
onOpenChange?: () => void;
|
|
10
|
-
primaryAction?: {
|
|
11
|
-
label: string;
|
|
12
|
-
variant?: ButtonVariant;
|
|
13
|
-
className?: string;
|
|
14
|
-
isLoading?: boolean;
|
|
15
|
-
onClick?: () => void;
|
|
16
|
-
};
|
|
17
|
-
secondaryAction?: {
|
|
18
|
-
label: string;
|
|
19
|
-
variant?: ButtonVariant;
|
|
20
|
-
className?: string;
|
|
21
|
-
isLoading?: boolean;
|
|
22
|
-
onClick?: () => void;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
declare const DynamicModal: ({ title, content, contentClassName, open, onOpenChange, primaryAction, secondaryAction, }: DynamicModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export default DynamicModal;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { Extension } from '@tiptap/core';
|
|
2
|
-
|
|
3
|
-
type CollaborationCursorStorage = {
|
|
4
|
-
users: {
|
|
5
|
-
clientId: number;
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
}[];
|
|
8
|
-
};
|
|
9
|
-
export interface CollaborationCursorOptions {
|
|
10
|
-
/**
|
|
11
|
-
* The Hocuspocus provider instance. This can also be a TiptapCloudProvider instance.
|
|
12
|
-
* @type {HocuspocusProvider | TiptapCloudProvider}
|
|
13
|
-
* @example new HocuspocusProvider()
|
|
14
|
-
*/
|
|
15
|
-
provider: any;
|
|
16
|
-
/**
|
|
17
|
-
* The user details object – feel free to add properties to this object as needed
|
|
18
|
-
* @example { name: 'John Doe', color: '#305500' }
|
|
19
|
-
*/
|
|
20
|
-
user: Record<string, any>;
|
|
21
|
-
/**
|
|
22
|
-
* A function that returns a DOM element for the cursor.
|
|
23
|
-
* @param user The user details object
|
|
24
|
-
* @example
|
|
25
|
-
* render: user => {
|
|
26
|
-
* const cursor = document.createElement('span')
|
|
27
|
-
* cursor.classList.add('collaboration-cursor__caret')
|
|
28
|
-
* cursor.setAttribute('style', `border-color: ${user.color}`)
|
|
29
|
-
*
|
|
30
|
-
* const label = document.createElement('div')
|
|
31
|
-
* label.classList.add('collaboration-cursor__label')
|
|
32
|
-
* label.setAttribute('style', `background-color: ${user.color}`)
|
|
33
|
-
* label.insertBefore(document.createTextNode(user.name), null)
|
|
34
|
-
*
|
|
35
|
-
* cursor.insertBefore(label, null)
|
|
36
|
-
* return cursor
|
|
37
|
-
* }
|
|
38
|
-
*/
|
|
39
|
-
render(user: Record<string, any>): HTMLElement;
|
|
40
|
-
/**
|
|
41
|
-
* A function that returns a ProseMirror DecorationAttrs object for the selection.
|
|
42
|
-
* @param user The user details object
|
|
43
|
-
* @example
|
|
44
|
-
* selectionRender: user => {
|
|
45
|
-
* return {
|
|
46
|
-
* nodeName: 'span',
|
|
47
|
-
* class: 'collaboration-cursor__selection',
|
|
48
|
-
* style: `background-color: ${user.color}`,
|
|
49
|
-
* 'data-user': user.name,
|
|
50
|
-
* }
|
|
51
|
-
*/
|
|
52
|
-
selectionRender(user: Record<string, any>): any;
|
|
53
|
-
/**
|
|
54
|
-
* @deprecated The "onUpdate" option is deprecated. Please use `editor.storage.collaborationCursor.users` instead. Read more: https://tiptap.dev/api/extensions/collaboration-cursor
|
|
55
|
-
*/
|
|
56
|
-
onUpdate: (users: {
|
|
57
|
-
clientId: number;
|
|
58
|
-
[key: string]: any;
|
|
59
|
-
}[]) => null;
|
|
60
|
-
}
|
|
61
|
-
declare module '@tiptap/core' {
|
|
62
|
-
interface Commands<ReturnType> {
|
|
63
|
-
collaborationCursor: {
|
|
64
|
-
/**
|
|
65
|
-
* Update details of the current user
|
|
66
|
-
* @example editor.commands.updateUser({ name: 'John Doe', color: '#305500' })
|
|
67
|
-
*/
|
|
68
|
-
updateUser: (attributes: Record<string, any>) => ReturnType;
|
|
69
|
-
/**
|
|
70
|
-
* Update details of the current user
|
|
71
|
-
*
|
|
72
|
-
* @deprecated The "user" command is deprecated. Please use "updateUser" instead. Read more: https://tiptap.dev/api/extensions/collaboration-cursor
|
|
73
|
-
*/
|
|
74
|
-
user: (attributes: Record<string, any>) => ReturnType;
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* This extension allows you to add collaboration cursors to your editor.
|
|
80
|
-
* @see https://tiptap.dev/api/extensions/collaboration-cursor
|
|
81
|
-
*/
|
|
82
|
-
export declare const CollaborationCursor: Extension<CollaborationCursorOptions, CollaborationCursorStorage>;
|
|
83
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{packages/ddoc → package}/extensions/action-button/action-button-node-view.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{packages/ddoc → package}/extensions/resizable-media/resizable-media-menu-util.d.ts
RENAMED
|
File without changes
|
/package/dist/{packages/ddoc → package}/extensions/resizable-media/resizable-media-node-view.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table/table.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{packages/ddoc → package}/extensions/supercharged-table/extension-table-row/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{packages/ddoc → package}/extensions/supercharged-table/supercharged-table-kit.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{packages/ddoc → package}/extensions/twitter-embed/tweet-component-node-view.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|