@seafile/sdoc-editor 0.1.151 → 0.1.152

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.
@@ -32,6 +32,6 @@ export var generateCursorData = function generateCursorData(config) {
32
32
  var color = randomColor(options);
33
33
  return {
34
34
  name: user.name,
35
- color: color
35
+ cursor_color: color
36
36
  };
37
37
  };
@@ -20,7 +20,7 @@ var caretStyleBase = {
20
20
  background: 'palevioletred'
21
21
  };
22
22
  var Caret = function Caret(_ref) {
23
- var color = _ref.color,
23
+ var color = _ref.cursor_color,
24
24
  name = _ref.name;
25
25
  var cursorStyles = _objectSpread(_objectSpread({}, cursorStyleBase), {}, {
26
26
  background: color,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "0.1.151",
3
+ "version": "0.1.152",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",