@contentful/field-editor-rich-text 2.0.0-next.26 → 2.0.0-next.27

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.
@@ -12,7 +12,7 @@ export declare function getNodeEntryFromSelection(editor: RichTextEditor, nodeTy
12
12
  export declare function isNodeTypeSelected(editor: RichTextEditor, nodeType: BLOCKS | INLINES): boolean;
13
13
  export declare function moveToTheNextLine(editor: RichTextEditor): void;
14
14
  export declare function moveToTheNextChar(editor: RichTextEditor): void;
15
- export declare function insertEmptyParagraph(editor: RichTextEditor): void;
15
+ export declare function insertEmptyParagraph(editor: RichTextEditor, options?: any): void;
16
16
  export declare function getElementFromCurrentSelection(editor: RichTextEditor): (import("slate").BaseEditor | CustomElement<unknown> | import("../types").CustomText | Path)[];
17
17
  export declare function isList(editor?: RichTextEditor): boolean;
18
18
  export declare function getTableSize(table: CustomElement): Record<'numRows' | 'numColumns', number> | null;
@@ -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.26",
3
+ "version": "2.0.0-next.27",
4
4
  "publishConfig": {
5
5
  "tag": "next"
6
6
  },