Skip to content
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

Avoid corrupting stored image data in edit sessions #157582

Merged
merged 3 commits into from Aug 8, 2022

Conversation

joyceerhl
Copy link
Contributor

Previously edit sessions only accounted for text files, so a TextModelContentProvider was sufficient, but now we need to register a file system provider because image data is handled by extensions and we don't own the model for that

This PR fixes #157580

Previously edit sessions only accounted for text files, so a `TextModelContentProvider` was sufficient, but now we need to register a file system provider because image data is handled by extensions and we don't own the model for that
@joyceerhl joyceerhl self-assigned this Aug 8, 2022
@VSCodeTriageBot VSCodeTriageBot added this to the August 2022 milestone Aug 8, 2022
@joyceerhl joyceerhl merged commit 1c82bb3 into main Aug 8, 2022
@joyceerhl joyceerhl deleted the dev/joyceerhl/digital-mink branch August 8, 2022 23:34
joyceerhl added a commit that referenced this pull request Aug 10, 2022
Avoid corrupting stored image data in edit sessions
@github-actions github-actions bot locked and limited conversation to collaborators Sep 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Edit sessions don't support image data
3 participants