@cocreate/text 1.22.0 → 1.22.1
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 +7 -0
- package/package.json +1 -1
- package/src/updateText.js +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
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
|
+
|
1
8
|
# [1.22.0](https://github.com/CoCreate-app/CoCreate-text/compare/v1.21.0...v1.22.0) (2023-08-17)
|
2
9
|
|
3
10
|
|
package/package.json
CHANGED
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 }) {
|