forked from Mirrors/apostrophe
Disabling webkit local file sandboxing
Signed-off-by: somas95 <manuel.genoves@gmail.com>gh-pages
parent
c7a018177b
commit
8499a98fc4
|
@ -693,6 +693,8 @@ class UberwriterWindow(Window):
|
|||
|
||||
# Load in Webview and scroll to #ID
|
||||
self.webview = WebKit.WebView()
|
||||
self.webview_settings = self.webview.get_settings()
|
||||
self.webview_settings.set_allow_universal_access_from_file_urls(True)
|
||||
self.webview.load_html(output.decode("utf-8"), 'file://localhost/')
|
||||
|
||||
# Delete the cursor-scroll mark again
|
||||
|
|
Loading…
Reference in New Issue