@contentful/field-editor-rich-text 4.7.0 → 4.8.0

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.
@@ -79,7 +79,8 @@ async function selectEntityAndInsert(nodeType, sdk, editor, logAction) {
79
79
  _richtexttypes.BLOCKS.EMBEDDED_ENTRY
80
80
  ]);
81
81
  logAction('insert', {
82
- nodeType
82
+ nodeType,
83
+ entity
83
84
  });
84
85
  }
85
86
  rteSlide.onActive(()=>{
@@ -86,7 +86,8 @@ async function selectEntityAndInsert(editor, sdk, logAction) {
86
86
  (0, _transforms.select)(editor, selection);
87
87
  (0, _transforms.insertNodes)(editor, createInlineEntryNode(nodeType, entry));
88
88
  logAction('insert', {
89
- nodeType
89
+ nodeType,
90
+ entity: entry
90
91
  });
91
92
  }
92
93
  rteSlide.onActive(()=>{
@@ -53,7 +53,8 @@ export async function selectEntityAndInsert(nodeType, sdk, editor, logAction) {
53
53
  BLOCKS.EMBEDDED_ENTRY
54
54
  ]);
55
55
  logAction('insert', {
56
- nodeType
56
+ nodeType,
57
+ entity
57
58
  });
58
59
  }
59
60
  rteSlide.onActive(()=>{
@@ -60,7 +60,8 @@ export async function selectEntityAndInsert(editor, sdk, logAction) {
60
60
  select(editor, selection);
61
61
  insertNodes(editor, createInlineEntryNode(nodeType, entry));
62
62
  logAction('insert', {
63
- nodeType
63
+ nodeType,
64
+ entity: entry
64
65
  });
65
66
  }
66
67
  rteSlide.onActive(()=>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-rich-text",
3
- "version": "4.7.0",
3
+ "version": "4.8.0",
4
4
  "source": "./src/index.tsx",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -88,5 +88,5 @@
88
88
  "publishConfig": {
89
89
  "registry": "https://npm.pkg.github.com/"
90
90
  },
91
- "gitHead": "a86f67a6d507eb7c8c7a38b4312380361bdbebbb"
91
+ "gitHead": "f8d86ccc6f09e338b45422128ed84af7bfbaee02"
92
92
  }