Replies: 1 comment 2 replies
-
Hey @ajq0, does your webview work as expected in VS Code? If not, I would recommend to read up on the webviews guide by VS Code. If it works in VS Code, please create an issue, as that would be considered a bug on our end. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings,
I am developing a vscode extention to be used within the Theia framework. This extension contains a webview.
When loading the webview, all the assets declared in the html and loaded via js, seem to be properly handled by Theia except for assets that are loaded by a css stylesheet. For me this would be font files which are declared in the css like so
url("./media/iconfont.ttf")
inside of a@font-face
block. My question is how can i get Theia to load these assets correctly.I see that Theia injects a
fake.html
file that acts as the file requester for most of the resources, but not for my font.Beta Was this translation helpful? Give feedback.
All reactions