@contentful/field-editor-rich-text 2.0.0-next.30 → 2.0.0-next.31

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.
@@ -17,4 +17,4 @@ export declare const setEditorContent: (editor: Editor, nodes?: Node[] | undefin
17
17
  * value
18
18
  */
19
19
  export declare const documentToEditorValue: (doc: any) => any;
20
- export declare const normalizeEditorValue: (value: Descendant[], options?: Pick<CreatePlateEditorOptions<RichTextEditor>, "plugins" | "disableCorePlugins" | "components" | "overrideByKey"> | undefined) => Descendant[] & any[];
20
+ export declare const normalizeEditorValue: (value: Descendant[], options?: Pick<CreatePlateEditorOptions<RichTextEditor>, "plugins" | "disableCorePlugins" | "components" | "overrideByKey" | "normalizeInitialValue"> | undefined) => Descendant[] & any[];
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Add items as needed. Don't forget to adjust hyperscript.d.ts
5
5
  */
6
- export declare const jsx: <S extends "selection" | "text" | "element" | "editor" | "focus" | "anchor" | "cursor" | "fragment">(tagName: S, attributes?: Object | undefined, ...children: any[]) => ReturnType<({
6
+ export declare const jsx: <S extends "editor" | "text" | "selection" | "element" | "focus" | "anchor" | "cursor" | "fragment">(tagName: S, attributes?: Object | undefined, ...children: any[]) => ReturnType<({
7
7
  anchor: typeof import("slate-hyperscript/dist/creators").createAnchor;
8
8
  cursor: typeof import("slate-hyperscript/dist/creators").createCursor;
9
9
  editor: (tagName: string, attributes: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-rich-text",
3
- "version": "2.0.0-next.30",
3
+ "version": "2.0.0-next.31",
4
4
  "publishConfig": {
5
5
  "tag": "next"
6
6
  },
@@ -48,10 +48,10 @@
48
48
  "fast-deep-equal": "^3.1.3",
49
49
  "is-hotkey": "^0.2.0",
50
50
  "is-plain-obj": "^3.0.0",
51
- "slate": "^0.72.8",
51
+ "slate": "^0.76.1",
52
52
  "slate-history": "^0.66.0",
53
53
  "slate-hyperscript": "^0.67.0",
54
- "slate-react": "^0.72.9"
54
+ "slate-react": "^0.76.1"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "react": ">=16.14.0",