Skip to content

Commit d1be6ab

Browse files
committedApr 23, 2021
fix: readme and documentation. Removed securitykeys
1 parent 2473f2b commit d1be6ab

File tree

4 files changed

+12
-17
lines changed

4 files changed

+12
-17
lines changed
 

‎demo/iframe.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ <h3 data-element_id="UOSXmIxqpp150457" data-coc-type="default" data-coc-name=""
5757
<script>
5858
var config = {
5959
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
60-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
61-
organization_Id: '5de0387b12e200ea63204d6c'
60+
organization_Id: '5de0387b12e200ea63204d6c'
6261
}
6362
</script>
6463

‎demo/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ <h3 >value 3</h3>
144144
<script>
145145
var config = {
146146
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
147-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
148-
organization_Id: '5de0387b12e200ea63204d6c'
147+
organization_Id: '5de0387b12e200ea63204d6c'
149148
}
150149
</script>
151150

‎docs/index.html

+9-11
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<meta name="description" content="A JavaScript component target,update & remove values in element's attributes from an input,select or js api.Configurable using class,style or any custom attribute" />
1010
<meta name="keywords" content="helper classes, utility classes, css framework, css library, inline style classes" />
1111
<meta name="robots" content="index,follow" />
12+
<meta property="og:image" content="https://cdn.cocreate.app/docs/boilerplate.png">
1213

1314
<!-- CoCreate CSS -->
1415
<link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css"/>
@@ -20,7 +21,7 @@
2021
<div class="display:flex align-items:center">
2122
<h2>CoCreate-domEditorPanel</h2>
2223
</div>
23-
<div class="display:flex align-items:center font-size:20px" data-share_height="600" data-share_width="500" data-share_media="https://via.placeholder.com/300/09f/fff.png">
24+
<div class="display:flex align-items:center font-size:20px" data-share_network="true" data-share_text="Enter decription here" data-share_title="testing im a title" data-share_height="600" data-share_width="700" data-share_media="https://cdn.cocreate.app/docs/boilerplate.png">
2425
<a href="https://github.com/CoCreate-app/CoCreate-domEditorPanel" target="_blank" class="margin-right:15px"><i class="fab fa-github"></i></a>
2526
<a class="margin-right:15px" data-share_network='twitter' title="Share on twitter"><i class="fab fa-twitter"></i></a>
2627
<a class="margin-right:15px" data-share_network='facebook' title="Share on Facebook"><i class="fab fa-facebook"></i></a>
@@ -33,7 +34,7 @@ <h2>CoCreate-domEditorPanel</h2>
3334
<div class="flex-grow:1 width:300px padding:0px_10px margin:20px_0px">
3435

3536
<div id="attributes-install" class="border-bottom:1px_solid_lightgrey">
36-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#attributes-install"]'>
37+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#attributes-install"]'>
3738
<h2 class="padding:5px_0px">Install</h2>
3839
<a class="margin-left:10px display:none" href="#attributes-install"><i class="fas fa-link"></i></a>
3940
</span>
@@ -44,7 +45,7 @@ <h2 class="padding:5px_0px">Install</h2>
4445
<pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/attributes/latest/CoCreate-attributes.min.js&lt;/script&gt;</code></pre>
4546

4647
<div id="attributes-reference" class="margin-top:80px border-bottom:1px_solid_lightgrey">
47-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#attributes-reference"]'>
48+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#attributes-reference"]'>
4849
<h2 class="padding:5px_0px">Reference</h2>
4950
<a class="margin-left:10px display:none" href="#attributes-reference"><i class="fas fa-link"></i></a>
5051
</span>
@@ -53,15 +54,13 @@ <h2 class="padding:5px_0px">Reference</h2>
5354
<p class="padding:10px_0px">This is domEditorPanel reference</p>
5455

5556
<div class="flex-grow:1 min-width:300px width:100%">
56-
<pre>
57-
<code class="language-html">&lt;div&gt;&lt;/div&gt;</code>
58-
</pre>
57+
<pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
5958
</div>
6059
<p class="padding:10px_0px">This is domEditorPanel reference</p>
6160
<p class="padding:10px_0px">This is domEditorPanel reference</p>
6261
</div>
6362
<div id="attributes-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey">
64-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#attributes-attributes"]'>
63+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#attributes-attributes"]'>
6564
<h2 class="padding:5px_0px">Attributes</h2>
6665
<a class="margin-left:10px display:none" href="#attributes-attributes"><i class="fas fa-link"></i></a>
6766
</span>
@@ -82,7 +81,7 @@ <h4><span>data-domEditorPanel</span> <span class="cocreate-badge success">string
8281

8382
<!-- SandBox -->
8483
<div id="attributes-demo" class="border-bottom:1px_solid_lightgrey">
85-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#attributes-demo"]'>
84+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#attributes-demo"]'>
8685
<h2 class="padding:5px_0px">Demo</h2>
8786
<a class="margin-left:10px display:none" href="#attributes-demo"><i class="fas fa-link"></i></a>
8887
</span>
@@ -107,7 +106,7 @@ <h2 class="padding:5px_0px">Demo</h2>
107106
class="margin-right:10px">
108107
<i class="fas fa-external-link-alt"></i>
109108
</a>
110-
<a class="fs-toggle margin-right:5px" target="#playground-1"><i class="fas fa-expand"></i></a>
109+
<a class="margin-right:5px" data-fullscreen target="#playground-1"><i class="fas fa-expand"></i></a>
111110
</div>
112111

113112
<div class="svRow">
@@ -141,8 +140,7 @@ <h2 class="padding:5px_0px">Demo</h2>
141140
<script>
142141
var config = {
143142
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
144-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
145-
organization_Id: '5de0387b12e200ea63204d6c'
143+
organization_Id: '5de0387b12e200ea63204d6c'
146144
}
147145
</script>
148146

‎src/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
<script>
1717
var config = {
1818
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
19-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
20-
organization_Id: '5de0387b12e200ea63204d6c'
19+
organization_Id: '5de0387b12e200ea63204d6c'
2120
}
2221
</script>
2322

0 commit comments

Comments
 (0)
Please sign in to comment.