@dxos/react-ui-editor 0.5.2 → 0.5.3-main.0a95b55

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.
@@ -1788,7 +1788,7 @@ var comments = (options = {}) => {
1788
1788
  options.onUpdate ? trackPastedComments(options.onUpdate) : []
1789
1789
  ];
1790
1790
  };
1791
- var focusComment = (view, id, center = true) => {
1791
+ var scrollThreadIntoView = (view, id, center = true) => {
1792
1792
  const comment = view.state.field(commentsState).comments.find((range2) => range2.comment.id === id);
1793
1793
  if (!comment?.comment.cursor) {
1794
1794
  return;
@@ -4990,7 +4990,6 @@ export {
4990
4990
  editorFillLayoutRoot,
4991
4991
  editorMode,
4992
4992
  editorWithToolbarLayout,
4993
- focusComment,
4994
4993
  focusEvent,
4995
4994
  formattingEquals,
4996
4995
  formattingKeymap,
@@ -5014,6 +5013,7 @@ export {
5014
5013
  removeLink,
5015
5014
  removeList,
5016
5015
  removeStyle,
5016
+ scrollThreadIntoView,
5017
5017
  setBlockquote,
5018
5018
  setComments,
5019
5019
  setHeading,