Closed dvjn closed 2 years ago
Seems this is a bug introduced in Monaco 0.34: https://github.com/microsoft/monaco-editor/issues/2962.
I don't think we can do anything about it until it's fixed upstream, at best, we could filter out this specific error message or downgrade Monaco.
Description
When I create a mermaid code block in a markdown file, error banners are shown on each character input. Also, in the preview tab, the height of the mermaid diagram is broken.
This is working properly on v1.17 but breaking on dev.
Stacktrace:
Gitea Version
dev
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
Docker Image:
gitea/gitea:dev
Database
SQLite