We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Preview Widget doesn't render preview for empty documents
PreviewHandler
I assume this was not noticed until now as the Markdown preview is empty anyway for empty documents.
@injectable() class MyPreviewHandler implements PreviewHandler { canHandle(uri: URI) { return 1000; } renderContent() { const div = document.createElement("div"); div.innerText = "my preview"; return div; } }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug Description:
Preview Widget doesn't render preview for empty documents
Steps to Reproduce:
PreviewHandler
which renders content for empty documentsI assume this was not noticed until now as the Markdown preview is empty anyway for empty documents.
Additional information
Code
Error Case
Expected Behavior
The text was updated successfully, but these errors were encountered: