Open xingyaoww opened 4 months ago
For images and videos it may be as simple as rendering an img
or video
element given the extension/path.
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Voting +1 on wanting to fix this.
What problem or use case are you trying to solve?
Images are not properly rendered in the Code Editor (though maybe it is not supposed to do that... -- I'm open to discussion about this).
Describe the UX of the solution you'd like
I kind of expect a VSCode-like experience that it can display some simple media file (jpg, png, or even mp4 and pdf) and show an error message when it encounters a binary file type (e.g.,
.exe
) that it does not support.Do you have thoughts on the technical implementation?
Describe alternatives you've considered
Additional context