Skip to content

Codeview highlighted #110

@CFdong

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

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