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

Performance issues when editing large code blocks #1

Open
JSerwatka opened this issue Jun 30, 2023 · 0 comments
Open

Performance issues when editing large code blocks #1

JSerwatka opened this issue Jun 30, 2023 · 0 comments
Labels
performance Improve performance

Comments

@JSerwatka
Copy link
Owner

When you haven't reached the threshold for disabling syntax highlighting but still working with a very large code snippet, writing code inside a code block can become sluggish. This is an inherent issue with Notion's code blocks.

I will explore ways to improve performance by identifying the differences between the previous and new code blocks and implementing granular HTML editing.

Maybe use something lighter than highlightjs - check carbon code

@JSerwatka JSerwatka added the performance Improve performance label Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Improve performance
Projects
None yet
Development

No branches or pull requests

1 participant