@cocreate/text 1.26.1 → 1.26.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/demo/test-webpage.html +0 -5
- package/package.json +1 -1
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
## [1.26.3](https://github.com/CoCreate-app/CoCreate-text/compare/v1.26.2...v1.26.3) (2024-02-14)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* realtime defaults to false ([bb50bda](https://github.com/CoCreate-app/CoCreate-text/commit/bb50bda41000223ae64836e3826283c3c47d6dff))
|
7
|
+
|
8
|
+
## [1.26.2](https://github.com/CoCreate-app/CoCreate-text/compare/v1.26.1...v1.26.2) (2024-02-05)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* Removed https://cdn.cocreate.app/latest/CoCreate.min.css ([a45eeae](https://github.com/CoCreate-app/CoCreate-text/commit/a45eeae3a513060f4795720f3ff549eb4cb54b14))
|
14
|
+
|
1
15
|
## [1.26.1](https://github.com/CoCreate-app/CoCreate-text/compare/v1.26.0...v1.26.1) (2023-12-09)
|
2
16
|
|
3
17
|
|
package/demo/test-webpage.html
CHANGED
@@ -14,11 +14,6 @@
|
|
14
14
|
property="og:image"
|
15
15
|
content="https://cdn.cocreate.app/docs/action.png" />
|
16
16
|
|
17
|
-
<!-- CoCreate CSS -->
|
18
|
-
<link
|
19
|
-
rel="stylesheet"
|
20
|
-
href="https://cdn.cocreate.app/latest/CoCreate.min.css"
|
21
|
-
type="text/css" />
|
22
17
|
<link
|
23
18
|
rel="stylesheet"
|
24
19
|
href="/index.css"
|
package/package.json
CHANGED
package/src/index.js
CHANGED
@@ -35,7 +35,7 @@ function initElement(element) {
|
|
35
35
|
}
|
36
36
|
if (['_id', 'organization_id', 'storage', 'database', 'array'].includes(key))
|
37
37
|
return
|
38
|
-
if (isCrdt == "false" || isRealtime == "false" || element.type == 'number')
|
38
|
+
if (!isRealtime || isCrdt == "false" || isRealtime == "false" || element.type == 'number' || element.type == 'file' || element.getAttribute('type') === 'file')
|
39
39
|
return
|
40
40
|
if (!checkValue(array) || !checkValue(object) || !checkValue(key))
|
41
41
|
return
|