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

Codeview highlighted #110

Open
CFdong opened this issue Oct 21, 2021 · 1 comment
Open

Codeview highlighted #110

CFdong opened this issue Oct 21, 2021 · 1 comment

Comments

@CFdong
Copy link

CFdong commented Oct 21, 2021

When I click the codeview, the codes is no highlighted. What should I do to achieve it? Thanks!
Uploading QQ20211020-163948.png…

<ReactSummernote
value={descriptionValueLong}
className="react-summernote"
codemirror={ // codemirror options
{ theme: 'monokai' }
}
options={{
toolbar: [
['style', ['style']],
['font', ['bold', 'underline', 'clear']],
['fontname', ['fontname']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['table', ['table']],
['insert', ['link', 'picture', 'video']],
['view', ['fullscreen', 'codeview', 'help']],
]
}}
onChange={descriptionChangeLong}
/>

@CFdong
Copy link
Author

CFdong commented Oct 21, 2021

QQ20211020-163948

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