You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click on the current text of the markdown component, hold and drag to another location on the screen
The gui crashes and a NotImplementedError is logged (example)
Expected behavior
The the markdown component becomes blank without crashing the gui.
Additional context
There are possibly other ways to trigger this issue, but this is the way I found. The root cause appears to be commonmark's parser not having any children nodes for a blank document, causing MarkdownRenderer to produce an empty drawable list
The text was updated successfully, but these errors were encountered:
Describe the bug
In certain cases, the a MarkdownComponent can have 0 drawables, which causes a NotImplementedError here.
To Reproduce
Steps to reproduce the behavior:
ComponentsGui
Expected behavior
The the markdown component becomes blank without crashing the gui.
Additional context
There are possibly other ways to trigger this issue, but this is the way I found. The root cause appears to be commonmark's parser not having any children nodes for a blank document, causing MarkdownRenderer to produce an empty drawable list
The text was updated successfully, but these errors were encountered: