@mdxeditor/editor 3.0.6 → 3.0.7

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.
@@ -242,9 +242,13 @@ const CellEditor = ({ focus, setActiveCell, parentEditor, lexicalTable, contents
242
242
  visitors: exportVisitors,
243
243
  jsxIsAvailable
244
244
  });
245
- parentEditor.update(() => {
246
- lexicalTable.updateCellContents(colIndex, rowIndex, mdast.children[0].children);
247
- });
245
+ parentEditor.update(
246
+ () => {
247
+ lexicalTable.updateCellContents(colIndex, rowIndex, mdast.children[0].children);
248
+ },
249
+ { discrete: true }
250
+ );
251
+ parentEditor.dispatchCommand(NESTED_EDITOR_UPDATED_COMMAND, void 0);
248
252
  });
249
253
  setActiveCell(nextCell);
250
254
  },
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "*.css"
12
12
  ],
13
13
  "type": "module",
14
- "version": "3.0.6",
14
+ "version": "3.0.7",
15
15
  "description": "React component for rich text markdown editing",
16
16
  "scripts": {
17
17
  "build": "vite build",