@cocreate/text 1.14.6 → 1.14.7
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/index.js +3 -2
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## [1.14.7](https://github.com/CoCreate-app/CoCreate-text/compare/v1.14.6...v1.14.7) (2022-01-11)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* addEvents if isCrdt != true ([b57f83b](https://github.com/CoCreate-app/CoCreate-text/commit/b57f83ba299f4a27802f48a14c2a252095cb91ba))
|
7
|
+
|
1
8
|
## [1.14.6](https://github.com/CoCreate-app/CoCreate-text/compare/v1.14.5...v1.14.6) (2022-01-01)
|
2
9
|
|
3
10
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
@@ -35,11 +35,12 @@ function initElement (element) {
|
|
35
35
|
|
36
36
|
if (!isCrdt) {
|
37
37
|
if (element.tagName == 'IFRAME'){
|
38
|
-
|
38
|
+
if (isCrdt != 'true')
|
39
|
+
_addEventListeners(element.contentDocument.documentElement);
|
39
40
|
let Document = element.contentDocument;
|
40
41
|
initDocument(Document);
|
41
42
|
}
|
42
|
-
else{
|
43
|
+
else if (isCrdt != 'true'){
|
43
44
|
_addEventListeners(element);
|
44
45
|
}
|
45
46
|
}
|