@cocreate/text 1.14.3 → 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 +28 -0
- package/demo/demos.1.html +1 -1
- package/demo/test-webpage.html +1 -1
- package/docs/index.html +1 -1
- package/package.json +1 -1
- package/src/index.js +3 -2
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,31 @@
|
|
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
|
+
|
8
|
+
## [1.14.6](https://github.com/CoCreate-app/CoCreate-text/compare/v1.14.5...v1.14.6) (2022-01-01)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* get-value attribute value now supports a selector added # to all values currently in get-value attributes ([260fcd3](https://github.com/CoCreate-app/CoCreate-text/commit/260fcd39de882d34c16887a84d6cc746f9095b02))
|
14
|
+
|
15
|
+
## [1.14.5](https://github.com/CoCreate-app/CoCreate-text/compare/v1.14.4...v1.14.5) (2022-01-01)
|
16
|
+
|
17
|
+
|
18
|
+
### Bug Fixes
|
19
|
+
|
20
|
+
* removed data- from attributes ([f51ca46](https://github.com/CoCreate-app/CoCreate-text/commit/f51ca466dc3dbe6ace376f30c20653f20c28703f))
|
21
|
+
|
22
|
+
## [1.14.4](https://github.com/CoCreate-app/CoCreate-text/compare/v1.14.3...v1.14.4) (2021-12-24)
|
23
|
+
|
24
|
+
|
25
|
+
### Bug Fixes
|
26
|
+
|
27
|
+
* removed document_id from demo ([62088ae](https://github.com/CoCreate-app/CoCreate-text/commit/62088ae3d1fb8f2bc8bf0a7cbf442a3ade02c9ae))
|
28
|
+
|
1
29
|
## [1.14.3](https://github.com/CoCreate-app/CoCreate-text/compare/v1.14.2...v1.14.3) (2021-12-23)
|
2
30
|
|
3
31
|
|
package/demo/demos.1.html
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
</head>
|
10
10
|
|
11
11
|
<body class="padding:20px">
|
12
|
-
<form collection="apples1" document_id="
|
12
|
+
<form collection="apples1" document_id="">
|
13
13
|
<textarea name="name1" class="width:100% padding:0px margin:0px" rows="10"></textarea>
|
14
14
|
<textarea name="name2" class="width:100%" rows="10"></textarea>
|
15
15
|
<iframe name='name2' width="100%" contenteditable></iframe>
|
package/demo/test-webpage.html
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
</nav>
|
43
43
|
|
44
44
|
<!-- SideNav Left-->
|
45
|
-
<sidenav id="menuL" class="cocreate-sidenav background:whitesmoke display:none" collection="components" document_id="6090c58598c42a332d21807f" name="html"
|
45
|
+
<sidenav id="menuL" class="cocreate-sidenav background:whitesmoke display:none" collection="components" document_id="6090c58598c42a332d21807f" name="html" content_id="content" sidenav-default_desktop="offcanvas" sidenav-default_tablet="offcanvas" sidenav-default_phone="offcanvas" sidenav-ontoggle_desktop="expanded" sidenav-ontoggle_tablet="expanded" sidenav-ontoggle_phone="expanded">
|
46
46
|
</sidenav>
|
47
47
|
|
48
48
|
<!-- Modal Viewport/Boundaries -->
|
package/docs/index.html
CHANGED
@@ -87,7 +87,7 @@
|
|
87
87
|
<div class="svSplitter svHorizontal"> </div>
|
88
88
|
|
89
89
|
<div class="svPanel">
|
90
|
-
<iframe get-value="demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
|
90
|
+
<iframe get-value="#demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
|
91
91
|
</div>
|
92
92
|
|
93
93
|
</div>
|
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
|
}
|