Skip to content
Snippets Groups Projects
Commit 01e79cfb authored by chris's avatar chris
Browse files

only observe on Yjs

parent a8da23b0
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ export const CommentDecorationPlugin = (name, options) => {
const { decorations } = this.getState(state);
if (
options.context.app.config.get('config.YjsService') &&
this.getState(state).allCommentsList().length !== allCommentsCount
) {
this.getState(state)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment