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

Could we have more extensive examples? #66

Open
merlinz01 opened this issue May 26, 2024 · 0 comments
Open

Could we have more extensive examples? #66

merlinz01 opened this issue May 26, 2024 · 0 comments

Comments

@merlinz01
Copy link

Getting started with CodeMirror is a significant learning curve.
There are some examples of things useful for extension development but not as many of the basics.
It would be great if we could have examples of all of the following, geared toward first-time users (like me):

  • Creating an editor
  • Deleting an editor (do we need to delete the view/state?)
  • (Dynamically) changing the highlighting language
  • Specifying/customizing the highlighting color theme
  • Querying undo state to see if document has changed
  • Resetting undo state when loading another document
  • Having a function called on each change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant