@dxos/react-ui-editor 0.6.10-staging.df1ee5d → 0.6.11-staging.a542fc9

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.
@@ -1666,22 +1666,12 @@ var createComment = (view) => {
1666
1666
  to
1667
1667
  });
1668
1668
  if (cursor) {
1669
- const id = options.onCreate?.({
1669
+ options.onCreate?.({
1670
1670
  cursor,
1671
1671
  from,
1672
1672
  location: view.coordsAtPos(from)
1673
1673
  });
1674
- if (id) {
1675
- view.dispatch({
1676
- effects: setSelection.of({
1677
- current: id
1678
- }),
1679
- selection: {
1680
- anchor: to
1681
- }
1682
- });
1683
- return true;
1684
- }
1674
+ return true;
1685
1675
  }
1686
1676
  return false;
1687
1677
  };