Skip to content

Markdown preview text is missing after tabs are switched #165188

Closed

Description

I have a video! Recent vscode main@c60980ca7ae:

vscode-senyai-md-issue

Text in the markdown preview from the modified file is missing after the tabs are switched. I'm writing my own preview extension and this behavior is not ideal. To fix it, I think the webview should "postMessage" when it's loaded and then the server should "postMessage" back with relevant content.

Activity

  1. added
    bug
    help wanted
    on Nov 1, 2022
  2. DavidNaumann commented on Nov 2, 2022

    @DavidNaumann

    Looking into the code for this functionality makes sense as the preview hooks into the text change of the markdown file and updates accordingly. However when the preview is no longer active it disposes the preview from memory and when active again constructs itself back up directly from the resource URI which has not updated yet.

  3. added a commit that references this issue on Nov 22, 2022
    e731bc3
  4. added
    markdown-ext
    on Dec 5, 2022
  5. mjbvz commented on Dec 5, 2022

    @mjbvz
    Contributor

    Duplicate of #147718

  6. removed this from the December 2022 milestone on Dec 5, 2022
  7. added
    *duplicate
    on Dec 5, 2022
  8. locked and limited conversation to collaborators on Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicatebughelp wantedmarkdown-ext

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions