@cocreate/elements 1.16.7 → 1.16.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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.16.8](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.16.7...v1.16.8) (2023-04-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * exclude source elements ([4fac006](https://github.com/CoCreate-app/CoCreate-elements/commit/4fac006525a292457ce8bf9eea4cdb52ca3349af))
7
+
1
8
  ## [1.16.7](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.16.6...v1.16.7) (2023-04-11)
2
9
 
3
10
 
package/demo/index.html CHANGED
@@ -6,8 +6,9 @@
6
6
  <link rel="icon" href="https://cdn.cocreate.app/favicon.ico" type="image/ico" sizes="16x16">
7
7
  </head>
8
8
  <body>
9
- <form collection="test" document_id="6365199c6647d05d3edad570" class="margin:20px">
9
+ <form collection="test" document_id="" realtime="false" class="margin:20px">
10
10
  <input name="name">
11
+ <input name="_id">
11
12
  <!-- <p name document>eeeeeer</p>
12
13
  <h1 name="name" contenteditable></h1>
13
14
  <h2 name="name"></h2>
@@ -19,11 +20,13 @@
19
20
  <span name="date-time"></span>
20
21
  <div name="text_area" classs="domeditor"></div>
21
22
  <span name="personal_info.email"></span> -->
23
+ <button type="button" actions="save">save</button>
24
+
22
25
  </form>
23
26
 
24
27
 
25
28
  <!-- <script src="../dist/CoCreate-elements.js"></script> -->
26
- <!-- <script src="https://cdn.cocreate.app/1.49.2/CoCreate.min.js" ></script> -->
29
+ <!-- <script src="../../../CoCreateJS/dist/CoCreate.js" ></script> -->
27
30
 
28
31
  <script src="https://cdn.cocreate.app/latest/CoCreate.min.js" ></script>
29
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/elements",
3
- "version": "1.16.7",
3
+ "version": "1.16.8",
4
4
  "description": "Fetch content into any html element by using html5 attributes to query data stored in CoCreate headless CMS. If data is changed it will instantly reflect in html tags as changes are broadcasted in realtime",
5
5
  "keywords": [
6
6
  "elements",
package/src/fetchSrc.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import observer from '@cocreate/observer';
2
2
 
3
- const selector = '[src]:not(img, video, script, input, iframe, frame, link)'
3
+ const selector = '[src]:not(img, video, script, input, iframe, frame, link, source)'
4
4
  const initializing = new Map();
5
5
 
6
6