@dxos/react-ui-editor 0.5.3-main.ac5e73c → 0.5.3-main.bc67fdb
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.
- package/dist/lib/browser/index.mjs +2 -2
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/types/src/extensions/comments.d.ts +1 -1
- package/dist/types/src/extensions/comments.d.ts.map +1 -1
- package/package.json +25 -25
- package/src/extensions/comments.ts +1 -1
|
@@ -1788,7 +1788,7 @@ var comments = (options = {}) => {
|
|
|
1788
1788
|
options.onUpdate ? trackPastedComments(options.onUpdate) : []
|
|
1789
1789
|
];
|
|
1790
1790
|
};
|
|
1791
|
-
var
|
|
1791
|
+
var focusComment = (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,6 +4990,7 @@ export {
|
|
|
4990
4990
|
editorFillLayoutRoot,
|
|
4991
4991
|
editorMode,
|
|
4992
4992
|
editorWithToolbarLayout,
|
|
4993
|
+
focusComment,
|
|
4993
4994
|
focusEvent,
|
|
4994
4995
|
formattingEquals,
|
|
4995
4996
|
formattingKeymap,
|
|
@@ -5013,7 +5014,6 @@ export {
|
|
|
5013
5014
|
removeLink,
|
|
5014
5015
|
removeList,
|
|
5015
5016
|
removeStyle,
|
|
5016
|
-
scrollThreadIntoView,
|
|
5017
5017
|
setBlockquote,
|
|
5018
5018
|
setComments,
|
|
5019
5019
|
setHeading,
|