jonathanyeung / mark-sharp

Mark Sharp WYSIWYG Markdown Editor for VS Code
44 stars 0 forks source link

Lexical error when opening a document #9

Closed viktomas closed 5 months ago

viktomas commented 6 months ago

Describe the bug I try to open a document in mark sharp and I get an empty webview and an error

Webview Error: Minified Lexical error #66; visit https://lexical.dev/docs/error?code=66&v=7 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

To Reproduce

Put the following txt into a text editor

- [[2024-05-15]] [Slash Commands Not Disabled When Duo Features are Disabled for a Project](https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/issues/1360#note_1906444540)

Expected behavior Shows the same rendered markdown as VS Code preview

Screenshots

image

Platform (please complete the following information):

VS Code version:

Version: 1.90.0-insider
Commit: 4207ee1f8ddac59df509b75e4bdd1c77904f766e
Date: 2024-05-22T02:04:29.708Z
Electron: 29.3.1
ElectronBuildId: 9464424
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.5.0
jonathanyeung commented 6 months ago

Thanks for reporting this issue! I can reproduce it - I'll have a fix for it in the next patch version.

jonathanyeung commented 5 months ago

Hi @viktomas - this should be fixed in the latest version, 1.2.3 - let me know if you're still encountering issues, thanks for reporting this issue!

viktomas commented 5 months ago

Thank you @jonathanyeung. The issue seems to be fixed, I'll let you know if it reappears