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-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="sp-tabs">
|
||||
<div class="sp-tab selected" id="sp-stable-diffusion-ui-tab">
|
||||
|
|
@ -646,6 +655,7 @@
|
|||
src="https://source.unsplash.com/random"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<hr class="line-divider" />
|
||||
<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' /> -->
|
||||
|
|
|
|||
|
|
@ -11,12 +11,28 @@
|
|||
"main": "index.html",
|
||||
"manifestVersion": 5,
|
||||
"requiredPermissions": {
|
||||
"webview": {
|
||||
"allow": "yes",
|
||||
"domains": [
|
||||
"https://*.adobe.com",
|
||||
"https://*.google.com",
|
||||
"https://webapp.magicposer.com/"
|
||||
]
|
||||
},
|
||||
"network": {
|
||||
"domains": "all"
|
||||
},
|
||||
"launchProcess": {
|
||||
"schemes": ["http", "https", "mailto"],
|
||||
"extensions": [".png", ".jpg", ".pdf"]
|
||||
"schemes": [
|
||||
"http",
|
||||
"https",
|
||||
"mailto"
|
||||
],
|
||||
"extensions": [
|
||||
".png",
|
||||
".jpg",
|
||||
".pdf"
|
||||
]
|
||||
},
|
||||
"clipboard": "readAndWrite",
|
||||
"localFileSystem": "request",
|
||||
|
|
|
|||
Loading…
Reference in New Issue