You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a project that can edit the HTML through the iframe, though the iframe works in both the vite as well as the dev mode of tauri, the element throws either an error or its just messes up all the UIs I created and breaks it in the process.
Now this are what I already done upon doing some research:
dialog - I am trying to release this app on mobile as well so this is a no go
webview/multiplewebview - same as the dialog as well I cannot use this method
csp: disabling - for this one I am currently using this:
To add more context, I am currently using an iframe inside of the build itself I added it here: src-tauri > assets > test_templates_temporary > index.html
Currently I cannot find any other solutions and I am kinda at a lost, since using the iframe is crucial for this project.
Also I would like to ask if disabling the csp will make a vulnerability that will open my app codes or will it only be harmful to the user, although for this app I am not adding any credentials of some sorts, its just straight up editor.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Now this are what I already done upon doing some research:
To add more context, I am currently using an iframe inside of the build itself I added it here:
src-tauri > assets > test_templates_temporary > index.html
Currently I cannot find any other solutions and I am kinda at a lost, since using the iframe is crucial for this project.
Thank you in advance for answering!
Beta Was this translation helpful? Give feedback.
All reactions