@@ -231,40 +231,41 @@ <h2 class="padding:5px_0px">Demo</h2>
231
231
</ span >
232
232
</ div >
233
233
< div class ="position:sticky top:0 padding:15px_0px height:100vh ">
234
- < div class ="container svColumn overflow:hidden card border-radius:2px width:auto height:100% " id ="sandbox ">
235
- < div class ="font-size:20px position:absolute top:10px right:10px opacity:0.6 z-index:7 "> < a class ="margin-right:10px " id ="preview " show ="preview " hide ="code "> < i class ="far fa-eye "> </ i > </ a > < a class ="margin-right:10px hidden " id ="code " show ="code " hide ="preview "> < i class ="fas fa-code "> </ i > </ a >
236
- <!--<a class="margin-right:10px"><i class="far fa-window-maximize"></i></a>--> < a target ="modal " href ="module_activity_datatable.html " pass-collection ="modules " pass-document_id ="" pass-fetch_value ="" pass-prefix ="" pass_to ="render " modal-width ="600px " modal-height ="400px " modal-color ="#229954 "
237
- modal-header ="false " class ="margin-right:10px ">
238
- < i class ="fas fa-external-link-alt "> </ i >
239
- </ a > < a class ="margin-right:5px " fullscreen target ="#sandbox "> < i class ="fas fa-expand "> </ i > </ a > </ div >
240
- < div class ="svRow ">
241
- < div class ="svColumn ">
242
- < div class ="svPanel ">
243
- < div realtime ="false " collection ="modules " document_id ="5eefe30952c6e94c75fb5e3f " name ="html " id ="7 " class ="codemirror height:100% min-width:300px "> </ div >
234
+ <!-- SandBox -->
235
+ < div class ="container svColumn overflow:hidden card position:relative border-radius:2px width:auto height:100% " id ="sandbox ">
236
+ < div class ="font-size:20px position:absolute top:10px right:10px opacity:0.6 ">
237
+ < a class ="margin-right:10px " id ="code " show ="#preview " hide ="#code, #view "> < i class ="far fa-eye "> </ i > </ a >
238
+ < a class ="margin-right:10px hidden " id ="preview " show ="#code, #view " hide ="#preview "> < i class ="fas fa-code "> </ i > </ a >
239
+ < a class ="margin-right:5px " fullscreen target ="#playground "> < i class ="fas fa-expand "> </ i > </ a >
240
+ </ div >
241
+ < div class ="svRow ">
242
+
243
+ < div class ="svColumn ">
244
+
245
+ < div class ="svPanel " id ="view ">
246
+ < textarea collection ="demos " document_id ="" name ="demo " save ="false " id ="demo " class ="height:100% width:100% border:none resize:none padding:5px "> </ textarea >
247
+ </ div >
248
+ < div class ="svSplitter svHorizontal "> </ div >
249
+
250
+ < div class ="svPanel ">
251
+ < iframe get-value ="demo " frameBorder ="0 " height ="100% " width ="100% " class ="min-width:300px "> </ iframe >
252
+ </ div >
253
+
244
254
</ div >
245
- < div class ="svSplitter svHorizontal "> </ div >
246
- < div class ="svPanel "> < iframe get-value ="7 " frameBorder ="0 " height ="100% " width ="100% " class ="min-width:300px "> </ iframe > </ div >
247
255
</ div >
248
256
</ div >
249
- </ div >
250
- <!-- End SandBox -->
257
+ <!-- End SandBox -->
251
258
</ div >
252
259
</ div >
253
260
</ div >
254
261
< button href ="https://github.com/CoCreate-app/CoCreate-render/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change... " target ="_blank " class ="position:fixed bottom:15px right:15px padding:15px background:dodgerblue grow-hover border-radius:50% ">
255
- < i class ="fas fa-pencil-alt "> </ i >
256
- </ button >
257
- </ main >
258
-
259
- < script >
260
- var config = {
261
- apiKey : 'c2b08663-06e3-440c-ef6f-13978b42883a' ,
262
- organization_Id : '5de0387b12e200ea63204d6c'
263
- }
264
- </ script >
265
-
266
- <!--CoCreateJS CDN-->
267
- < script src ="https://cdn.cocreate.app/latest/CoCreate.min.js "> </ script >
262
+ < i class ="fas fa-pencil-alt "> </ i >
263
+ </ button >
264
+ </ main >
265
+
266
+ < script src ="./apikey.js "> </ script >
267
+ < script src ="https://cdn.cocreate.app/latest/CoCreate.min.js "> </ script >
268
+
268
269
</ body >
269
270
270
271
</ html >
0 commit comments