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

Change code editor component #45

Closed
valentinoli opened this issue Aug 18, 2021 · 2 comments
Closed

Change code editor component #45

valentinoli opened this issue Aug 18, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@valentinoli
Copy link
Contributor

valentinoli commented Aug 18, 2021

Might want to use another editor, like Ace. Looks like it has better performance than Prism.
https://ace.c9.io/

Vue wrapper:
https://www.npmjs.com/package/vue2-ace-editor

How to use with Nuxt:
chairuosen/vue2-ace-editor#66

Other options to look at:
Monaco
https://github.com/microsoft/monaco-editor
https://www.npmjs.com/package/vue-monaco

@valentinoli valentinoli added the enhancement New feature or request label Aug 18, 2021
@valentinoli
Copy link
Contributor Author

We also have problem with the line numbers in Prism editor #37

@andreaskundig
Copy link
Contributor

Monaco doesn't work well on mobile browsers, I'll go with ace
microsoft/monaco-editor#246

andreaskundig added a commit that referenced this issue Sep 3, 2021
andreaskundig pushed a commit that referenced this issue Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants