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

Prevent toast-ui editor from always loading all dependencies #10982

Closed
JammingBen opened this issue May 31, 2024 · 0 comments · Fixed by #11060
Closed

Prevent toast-ui editor from always loading all dependencies #10982

JammingBen opened this issue May 31, 2024 · 0 comments · Fixed by #11060
Assignees

Comments

@JammingBen
Copy link
Collaborator

The TextEditor component loads the toast-ui editor package + its translations + a package for syntax highlighting. However, the latter 2 are only needed for editing markdown files, so there is no need to load these packages if the editor is a) in read-only mode or b) not showing a markdown file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant