-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AsciiDoc extension does not show images in preview #244
Comments
Thanks for the report. Root cause seems to be
We'll have to check further |
In the upper-right corner of the preview window, there are tree dots "...", under which there are options. Click "change preview security settings". I was only able to make it work with local images using the third option. Ideally the second option would work, limiting the "trust" to local content. I also noted that "refresh preview" does not seem to work - I needed to close the preview and re-open it. |
Wow, it works! Great! A question though: |
Good question - after some investigation, I think it's due to a bug in generic Theia's WebView code, used to display the preview window. I will open an upstream issue when I conclude my investigation - I'm optimistic we can have a fix for this, relatively quick. |
A fix for this has been merged upstream and will be part of this month's Eclipse Theia release. We usually update blueprint shortly after a Theia release. |
As mentioned, the issue should be fixed in newer versions of Eclipse Theia Blueprint. |
Hi,
I am trying to use the following VS extension
AsciiDoc
asciidoctor.asciidoctor-vscode
on Theia Blueprint 1.32.0 (Beta) - VS Code API Version: 1.55.2
I am already using this extension on VsCode, so I decided to try it on Theia.
The extension is searchable and installable from the Extensions view and the installation ends successfully.
However, when previewing an asciidoc file with
then images are not shown
(unlike VsCode, where they are visible)
Steps to Reproduce:
or create a brand new one, like the following (name it anyway, but with .adoc extension)
(ensure to have an image named image1.png in a subfolder named img with respect of the .adoc file)
Any hints?
Thank you very much
Vincenzo
The text was updated successfully, but these errors were encountered: