Skip to content

Codeview highlighted #110

Description

@CFdong

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}
/>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions