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

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.
@@ -0,0 +1,4 @@
1
+ import { RichTextEditor } from '../../types';
2
+ import type { NodeTransformer } from '../Normalizer';
3
+ export declare function addTableTrackingEvents(editor: RichTextEditor): void;
4
+ export declare const withInvalidCellChildrenTracking: (transformer: NodeTransformer) => NodeTransformer;
@@ -7,4 +7,5 @@ export interface TrackingPluginActions {
7
7
  onToolbarAction: (actionName: RichTextTrackingActionName, data?: Record<string, unknown>) => ReturnType<RichTextTrackingActionHandler>;
8
8
  onCommandPaletteAction: (actionName: RichTextTrackingActionName, data?: Record<string, unknown>) => ReturnType<RichTextTrackingActionHandler>;
9
9
  }
10
+ export declare function getPastingSource(data: DataTransfer): "Google Docs" | "Google Spreadsheets" | "Microsoft Excel" | "Microsoft Word" | "Microsoft Word Online" | "Apple Notes" | "Slack" | "Unknown";
10
11
  export declare const createTrackingPlugin: (onAction: RichTextTrackingActionHandler) => RichTextPlugin;
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.33",
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",
@@ -1,2 +0,0 @@
1
- import { RichTextEditor } from '../../types';
2
- export declare function addTableTrackingEvents(editor: RichTextEditor): void;