@contentful/field-editor-rich-text 2.0.0-next.15 → 2.0.0-next.16

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.
@@ -25,8 +25,6 @@ export declare function isLinkActive(editor?: RichTextEditor): boolean;
25
25
  export declare function unwrapLink(editor: any): void;
26
26
  export declare function wrapLink(editor: any, { text, url, target, type, path }: InsertLinkOptions): void;
27
27
  export declare function getAncestorPathFromSelection(editor: RichTextEditor): Path | undefined;
28
- export declare function shouldUnwrapBlockquote(editor: RichTextEditor, type: BLOCKS): boolean;
29
- export declare function unwrapFromRoot(editor: RichTextEditor): void;
30
28
  export declare const isAtEndOfTextSelection: (editor: RichTextEditor) => boolean;
31
29
  export declare function currentSelectionStartsTableCell(editor: RichTextEditor): boolean;
32
30
  /**
@@ -1,3 +1,4 @@
1
+ import { BLOCKS } from '@contentful/rich-text-types';
1
2
  import { NodeEntry, Node } from 'slate';
2
3
  import { CustomElement, RichTextEditor } from '../../types';
3
4
  export declare const hasListAsDirectParent: (editor: RichTextEditor, [, path]: NodeEntry<Node>) => boolean;
@@ -11,3 +12,4 @@ export declare const isNonEmptyListItem: (editor: RichTextEditor, [, path]: Node
11
12
  export declare const firstNodeIsNotList: (_editor: RichTextEditor, [node]: NodeEntry<CustomElement<unknown>>) => boolean;
12
13
  export declare const insertParagraphAsChild: (editor: RichTextEditor, [, path]: NodeEntry<Node>) => void;
13
14
  export declare const replaceNodeWithListItems: (editor: any, entry: any) => void;
15
+ export declare const isListTypeActive: (editor: RichTextEditor, type: BLOCKS) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-rich-text",
3
- "version": "2.0.0-next.15",
3
+ "version": "2.0.0-next.16",
4
4
  "publishConfig": {
5
5
  "tag": "next"
6
6
  },