Skip to content

Force refresh? #130

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

Open
mugnap opened this issue Apr 2, 2025 · 1 comment
Open

Force refresh? #130

mugnap opened this issue Apr 2, 2025 · 1 comment

Comments

@mugnap
Copy link

mugnap commented Apr 2, 2025

Hello,

After I dynamically change the 'language-' class to apply a different language to an existing editor, how I can force it to 'refresh' (in other words, to highlight it again with the new language)?
Thanks!

@antonmedv
Copy link
Owner

I think so. I do it somehow on landing page)

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

2 participants