add a webview for online poser
parent
1d672ecf52
commit
7c8c97f92c
10
index.html
10
index.html
|
|
@ -519,6 +519,15 @@
|
||||||
<!-- <sp-textarea id="tool_tip" open placement="top">use this when you want to fill empty areas of the canvas</sp-textarea> -->
|
<!-- <sp-textarea id="tool_tip" open placement="top">use this when you want to fill empty areas of the canvas</sp-textarea> -->
|
||||||
<!-- <sp-tooltip id="tool_tip" open placement="top">use this when you want to fill empty areas of the canvas</sp-tooltip> -->
|
<!-- <sp-tooltip id="tool_tip" open placement="top">use this when you want to fill empty areas of the canvas</sp-tooltip> -->
|
||||||
|
|
||||||
|
<dialog>
|
||||||
|
<webview
|
||||||
|
id="webview"
|
||||||
|
width="1000px"
|
||||||
|
height="1000px"
|
||||||
|
src="https://app.justsketch.me/"
|
||||||
|
></webview>
|
||||||
|
</dialog>
|
||||||
|
|
||||||
<div class="container wrapper">
|
<div class="container wrapper">
|
||||||
<div class="sp-tabs">
|
<div class="sp-tabs">
|
||||||
<div class="sp-tab selected" id="sp-stable-diffusion-ui-tab">
|
<div class="sp-tab selected" id="sp-stable-diffusion-ui-tab">
|
||||||
|
|
@ -646,6 +655,7 @@
|
||||||
src="https://source.unsplash.com/random"
|
src="https://source.unsplash.com/random"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="line-divider" />
|
<hr class="line-divider" />
|
||||||
<div class="" id="divInitImageViewerContainer">
|
<div class="" id="divInitImageViewerContainer">
|
||||||
<!-- <img class="viewer-image" id="viewer_init_image_test" data-metadata_json_string='{"a":1}' src='https://source.unsplash.com/random' /> -->
|
<!-- <img class="viewer-image" id="viewer_init_image_test" data-metadata_json_string='{"a":1}' src='https://source.unsplash.com/random' /> -->
|
||||||
|
|
|
||||||
|
|
@ -11,12 +11,28 @@
|
||||||
"main": "index.html",
|
"main": "index.html",
|
||||||
"manifestVersion": 5,
|
"manifestVersion": 5,
|
||||||
"requiredPermissions": {
|
"requiredPermissions": {
|
||||||
|
"webview": {
|
||||||
|
"allow": "yes",
|
||||||
|
"domains": [
|
||||||
|
"https://*.adobe.com",
|
||||||
|
"https://*.google.com",
|
||||||
|
"https://webapp.magicposer.com/"
|
||||||
|
]
|
||||||
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"domains": "all"
|
"domains": "all"
|
||||||
},
|
},
|
||||||
"launchProcess": {
|
"launchProcess": {
|
||||||
"schemes": ["http", "https", "mailto"],
|
"schemes": [
|
||||||
"extensions": [".png", ".jpg", ".pdf"]
|
"http",
|
||||||
|
"https",
|
||||||
|
"mailto"
|
||||||
|
],
|
||||||
|
"extensions": [
|
||||||
|
".png",
|
||||||
|
".jpg",
|
||||||
|
".pdf"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"clipboard": "readAndWrite",
|
"clipboard": "readAndWrite",
|
||||||
"localFileSystem": "request",
|
"localFileSystem": "request",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue