@cocreate/text 1.22.0 → 1.22.1

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/text",
3
- "version": "1.22.0",
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",
package/src/updateText.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import crdt from '@cocreate/crdt';
2
- import {getAttributes} from '@cocreate/elements';
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 }) {