From c8a8edffe14a7f8a1630eaf96986d69862006e47 Mon Sep 17 00:00:00 2001 From: Bao Thien Pham Date: Mon, 6 Nov 2023 14:05:47 +0700 Subject: [PATCH] fix: remove random number in cursor selection builder --- src/plugins/cursor-plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/cursor-plugin.js b/src/plugins/cursor-plugin.js index 1bbbdc6b..24153c15 100644 --- a/src/plugins/cursor-plugin.js +++ b/src/plugins/cursor-plugin.js @@ -50,7 +50,7 @@ export const defaultCursorBuilder = (user) => { */ export const defaultSelectionBuilder = (user) => { return { - style: `background-color: ${user.color}70`, + style: `background-color: ${user.color}`, class: 'ProseMirror-yjs-selection' } }