@cocreate/cursors 1.11.20 → 1.11.23
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/CHANGELOG.md +22 -0
- package/docs/index.html +1 -1
- package/package.json +8 -8
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
## [1.11.23](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.22...v1.11.23) (2022-06-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update mirrorDivs variable to type array ([2dc7e24](https://github.com/CoCreate-app/CoCreate-cursors/commit/2dc7e243a29da90822a41864f4e121ebf345ef8c))
|
|
7
|
+
|
|
8
|
+
## [1.11.22](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.21...v1.11.22) (2022-06-18)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* bump dependencies ([84ac880](https://github.com/CoCreate-app/CoCreate-cursors/commit/84ac88005ca2441994f34f577ad1a1afac418d5c))
|
|
14
|
+
|
|
15
|
+
## [1.11.21](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.20...v1.11.21) (2022-06-12)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* update dependencies ([b1429dd](https://github.com/CoCreate-app/CoCreate-cursors/commit/b1429dd946eeb3909724141beec742eea59064b1))
|
|
21
|
+
* update docs css document_id ([afd83f4](https://github.com/CoCreate-app/CoCreate-cursors/commit/afd83f465c13a94ae6f4cb1165ea8a65e1b20add))
|
|
22
|
+
|
|
1
23
|
## [1.11.20](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.19...v1.11.20) (2022-05-23)
|
|
2
24
|
|
|
3
25
|
|
package/docs/index.html
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<meta name="keywords" content="helper classes, utility classes, css framework, css library, inline style classes" />
|
|
11
11
|
<meta name="robots" content="index,follow" />
|
|
12
12
|
<meta property="og:image" content="https://cdn.cocreate.app/docs/boilerplate.png">
|
|
13
|
-
<link rel="stylesheet" href="/docs/index.css" collection="files" document_id="
|
|
13
|
+
<link rel="stylesheet" href="/docs/index.css" collection="files" document_id="60888216117c640e7596303f" name="src" type="text/css" save="true"/>
|
|
14
14
|
</head>
|
|
15
15
|
|
|
16
16
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/cursors",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.23",
|
|
4
4
|
"description": "Collaborative user cursor position for inputs, textarea's and contenteditable elements.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cursors",
|
|
@@ -62,12 +62,12 @@
|
|
|
62
62
|
"webpack-log": "^3.0.1"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@cocreate/crud-client": "^1.
|
|
66
|
-
"@cocreate/docs": "^1.3.
|
|
67
|
-
"@cocreate/message-client": "^1.1.
|
|
68
|
-
"@cocreate/observer": "^1.5.
|
|
69
|
-
"@cocreate/random-color": "^1.2.
|
|
70
|
-
"@cocreate/selection": "^1.4.
|
|
71
|
-
"@cocreate/uuid": "^1.2.
|
|
65
|
+
"@cocreate/crud-client": "^1.7.1",
|
|
66
|
+
"@cocreate/docs": "^1.3.3",
|
|
67
|
+
"@cocreate/message-client": "^1.1.71",
|
|
68
|
+
"@cocreate/observer": "^1.5.3",
|
|
69
|
+
"@cocreate/random-color": "^1.2.27",
|
|
70
|
+
"@cocreate/selection": "^1.4.11",
|
|
71
|
+
"@cocreate/uuid": "^1.2.4"
|
|
72
72
|
}
|
|
73
73
|
}
|
package/src/index.js
CHANGED
|
@@ -234,7 +234,7 @@ function drawCursors(selection) {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
function updateCursors(element) {
|
|
237
|
-
let mirrorDivs;
|
|
237
|
+
let mirrorDivs = [];
|
|
238
238
|
let id_mirror = element.getAttribute('mirror_id');
|
|
239
239
|
if (id_mirror) {
|
|
240
240
|
let mirrorDiv = element.ownerDocument.getElementById(id_mirror);
|