@fileverse-dev/ddoc 2.0.2-patch-4 → 2.0.2-patch-6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +12111 -12038
- package/dist/package/components/editor-utils.d.ts +0 -4
- package/dist/package/use-ddoc-editor.d.ts +1 -0
- package/dist/package/utils/colors.d.ts +4 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
@@ -13,10 +13,6 @@ export declare const fonts: {
|
|
13
13
|
value: string;
|
14
14
|
command: (editor: Editor) => void;
|
15
15
|
}[];
|
16
|
-
export declare const colors: {
|
17
|
-
color: string;
|
18
|
-
code: string;
|
19
|
-
}[];
|
20
16
|
export declare const MAX_IMAGE_SIZE: number;
|
21
17
|
export declare const ERR_MSG_MAP: {
|
22
18
|
IMAGE_SIZE: string;
|
@@ -3,6 +3,7 @@ import { DdocProps } from './types';
|
|
3
3
|
import * as Y from 'yjs';
|
4
4
|
export declare const useDdocEditor: ({ isPreviewMode, initialContent, enableCollaboration, collaborationId, walletAddress, username, onChange, onCollaboratorChange, onCommentInteraction, onTextSelection, ensResolutionUrl, onError, setCharacterCount, setWordCount, }: Partial<DdocProps>) => {
|
5
5
|
editor: import('@tiptap/react').Editor | null;
|
6
|
+
isContentLoading: boolean;
|
6
7
|
ref: import('react').RefObject<HTMLDivElement>;
|
7
8
|
connect: (username: string | null | undefined, isEns?: boolean) => () => void;
|
8
9
|
ydoc: Y.Doc;
|