@cocreate/selection 1.6.7 → 1.6.8
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/CoCreate.config.js +1 -1
- package/package.json +1 -1
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.6.8](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.6.7...v1.6.8) (2023-05-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* apikey renamed to key ([d14fe20](https://github.com/CoCreate-app/CoCreate-selection/commit/d14fe20711cb9352aef8bc49afc116ba59e73c67))
|
|
7
|
+
|
|
1
8
|
## [1.6.7](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.6.6...v1.6.7) (2023-05-06)
|
|
2
9
|
|
|
3
10
|
|
package/CoCreate.config.js
CHANGED
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -31,7 +31,7 @@ export function getSelection(element) {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
if (range.startContainer != range.endContainer) {
|
|
34
|
-
//
|
|
34
|
+
// TODO: replace common ancestor value
|
|
35
35
|
}
|
|
36
36
|
let contenteditable = range.startContainer.parentElement.closest('[contenteditable][collection][document_id][name]');
|
|
37
37
|
if (contenteditable){
|