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

Native Editor - Monaco editor render error when changing a cell from markdown to code #2756

Closed
DavidKutu opened this issue Nov 5, 2019 · 2 comments
Assignees

Comments

@DavidKutu
Copy link

Steps to reproduce:

  1. open a notebook
  2. Do not run any cell
  3. Change a markdown cell to code (or a code cell to markdown, and then back to code)

This will happen:
image.png

@DavidKutu
Copy link
Author

DavidKutu commented Nov 5, 2019

I couldn't find the problem, but it happens in monacoEditor.tsx when we create the editor with
monacoEditor.editor.create(...). I think the issue is with the options object, maybe its different when the cell hasn't been ran.

@IanMatthewHuff IanMatthewHuff self-assigned this Nov 5, 2019
@rchiodo
Copy link
Contributor

rchiodo commented Nov 14, 2019

Validated

@rchiodo rchiodo closed this as completed Nov 14, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Nov 22, 2019
@microsoft microsoft unlocked this conversation Nov 14, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 14, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants