@cocreate/text 1.21.0 → 1.22.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/package.json +8 -8
- package/src/updateText.js +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
## [1.22.1](https://github.com/CoCreate-app/CoCreate-text/compare/v1.22.0...v1.22.1) (2023-08-17)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* typo calling getAttributes from elements instead of utils ([ef048d9](https://github.com/CoCreate-app/CoCreate-text/commit/ef048d9bb89744f92749bde484197dbc40292721))
|
7
|
+
|
8
|
+
# [1.22.0](https://github.com/CoCreate-app/CoCreate-text/compare/v1.21.0...v1.22.0) (2023-08-17)
|
9
|
+
|
10
|
+
|
11
|
+
### Features
|
12
|
+
|
13
|
+
* bump cocreate dependencies for the latest updates and features ([53c0810](https://github.com/CoCreate-app/CoCreate-text/commit/53c0810ba8d805e68c639731066302bac1e24e73))
|
14
|
+
|
1
15
|
# [1.21.0](https://github.com/CoCreate-app/CoCreate-text/compare/v1.20.29...v1.21.0) (2023-08-16)
|
2
16
|
|
3
17
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@cocreate/text",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.22.1",
|
4
4
|
"description": "A simple text component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
|
5
5
|
"keywords": [
|
6
6
|
"text",
|
@@ -58,12 +58,12 @@
|
|
58
58
|
"webpack-log": "^3.0.1"
|
59
59
|
},
|
60
60
|
"dependencies": {
|
61
|
-
"@cocreate/actions": "^1.
|
62
|
-
"@cocreate/crdt": "^1.
|
63
|
-
"@cocreate/cursors": "^1.
|
64
|
-
"@cocreate/observer": "^1.
|
65
|
-
"@cocreate/selection": "^1.
|
66
|
-
"@cocreate/utils": "^1.
|
67
|
-
"@cocreate/uuid": "^1.
|
61
|
+
"@cocreate/actions": "^1.9.0",
|
62
|
+
"@cocreate/crdt": "^1.19.0",
|
63
|
+
"@cocreate/cursors": "^1.17.0",
|
64
|
+
"@cocreate/observer": "^1.9.0",
|
65
|
+
"@cocreate/selection": "^1.7.0",
|
66
|
+
"@cocreate/utils": "^1.22.0",
|
67
|
+
"@cocreate/uuid": "^1.5.0"
|
68
68
|
}
|
69
69
|
}
|
package/src/updateText.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import crdt from '@cocreate/crdt';
|
2
|
-
import {getAttributes} from '@cocreate/
|
2
|
+
import { getAttributes } from '@cocreate/utils';
|
3
3
|
import { getStringPosition } from '@cocreate/selection';
|
4
4
|
|
5
5
|
export function insertAdjacentElement({ domTextEditor, target, position, element, elementValue }) {
|