steven-tey / novel

Notion-style WYSIWYG editor with AI-powered autocompletion.
https://novel.sh
Apache License 2.0
12.21k stars 1.02k forks source link

bug: closing tags in code editor trigger slash command #324

Closed haydenbleasel closed 5 months ago

haydenbleasel commented 5 months ago

Provide environment information

Live on https://novel.sh/

Describe the bug

Click on the right of the closing bracket e.g. /> <- here

Link to reproduction

https://novel.sh/

To reproduce

Click on the right of the closing bracket e.g. /> <- here

Additional information

CleanShot 2024-03-04 at 00 08 52@2x