@layers-app/editor 0.0.2 → 0.0.3
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 +8 -8
- package/dist/{DSD.BL_py6LH.js → DSD.BOfOm0fi.js} +36 -21
- package/dist/{DSD.CjmkQe7N.js → DSD.CLvOmiXk.js} +11 -6
- package/dist/{DSD.C11ukNU9.js → DSD.CXZkNRqi.js} +67 -32
- package/dist/{DSD.CdYWFL0O.js → DSD.CaG79eSb.js} +1 -1
- package/dist/{DSD.BJ38UQLe.js → DSD.NL0fFbop.js} +108207 -106835
- package/dist/index.d.ts +1 -2
- package/dist/index.js +2 -2
- package/dist/index.umd.cjs +85 -85
- package/package.json +9 -6
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export { CLEAR_EDITOR_COMMAND }
|
|
|
14
14
|
|
|
15
15
|
export { Dropzone }
|
|
16
16
|
|
|
17
|
-
export declare const Editor: <USER_DATA extends object, CHILD_PAGE extends PageData>({ initialContent, onChange, outputFormat, mode, maxHeight, onBlur, onFocus, fetchUploadImage, fetchDeleteImage, maxImageSize, contentModalUploadImage, maxImageSizeError, debounce: debounceMs, disable, ws, excludeNodes, imagePickerSettings, childPages, language, editorRef }: EditorProps<USER_DATA, CHILD_PAGE>) => JSX_2.Element;
|
|
17
|
+
export declare const Editor: <USER_DATA extends object, CHILD_PAGE extends PageData>({ initialContent, onChange, outputFormat, mode, maxHeight, onBlur, onFocus, fetchUploadImage, fetchDeleteImage, maxImageSize, contentModalUploadImage, maxImageSizeError, debounce: debounceMs, disable, ws, excludeNodes, imagePickerSettings, childPages, language, editorRef, }: EditorProps<USER_DATA, CHILD_PAGE>) => JSX_2.Element;
|
|
18
18
|
|
|
19
19
|
declare interface EditorProps<USER_DATA extends object = object, PAGE_DATA extends PageData = PageData> {
|
|
20
20
|
initialContent: Root | string;
|
|
@@ -81,7 +81,6 @@ declare interface PageData {
|
|
|
81
81
|
icon: string | null;
|
|
82
82
|
title: string;
|
|
83
83
|
order: number;
|
|
84
|
-
onClick?: () => void;
|
|
85
84
|
}
|
|
86
85
|
|
|
87
86
|
export declare type Root = SerializedEditorState<SerializedLexicalNode>;
|