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

Switch to svelte-codemirror-editor #160

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

lishaduck
Copy link
Member

@lishaduck lishaduck commented Feb 17, 2025

This restores the ability to programmatically set the value from Svelte.
You could only set the initial value before, but that's not very Svelte.

Interestingly, I didn't need to disable optimizeDeps, perhaps I should send a PR over to scm to update their docs (EDIT: I did file one, touchifyapp/svelte-codemirror-editor#38).

@lishaduck lishaduck requested a review from ParkerH27 as a code owner February 17, 2025 05:49
@lishaduck lishaduck self-assigned this Feb 17, 2025
@lishaduck lishaduck force-pushed the switch-to-svelte-codemirror-editor branch from ce8772e to 0cf1994 Compare February 17, 2025 18:15
Also drop the dependency on codemirror, which just provides presets.

This restores the ability to programmatically set the value from Svelte.
You could only set the initial value before, but that's not very Svelte.
@lishaduck lishaduck force-pushed the switch-to-svelte-codemirror-editor branch from 0cf1994 to 58d6bac Compare February 17, 2025 18:25
@lishaduck lishaduck merged commit 901dee1 into main Feb 17, 2025
11 checks passed
@lishaduck lishaduck deleted the switch-to-svelte-codemirror-editor branch February 17, 2025 18:38
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

Successfully merging this pull request may close these issues.

1 participant