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

Console warning for highlightBlock - will be removed entirely in v12.0 #87

Open
TrueJu opened this issue Dec 22, 2022 · 2 comments
Open

Comments

@TrueJu
Copy link

TrueJu commented Dec 22, 2022

Console warning for highlightBlock.

To recreate:

import Highlight from 'react-highlight';
...
<Highlight className={language}>
            {some code}
</Highlight>

Appearing message in browser console:
Deprecated as of 10.7.0. highlightBlock will be removed entirely in v12.0
Deprecated as of 10.7.0. Please use highlightElement now.

@agjs
Copy link

agjs commented Apr 2, 2023

Any news on this?

@greeenboi
Copy link

please update

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

3 participants