Make WordPress Core

Opened 14 months ago

Last modified 13 months ago

#51990 new defect (bug)

Codemirror does not support JSX by default as mentioned

Reported by: webbdeveloper Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version: 5.5.3
Component: External Libraries Keywords: needs-patch
Focuses: Cc:

Description (last modified by SergeyBiryukov)

I found an issue with the core code.

It is mentioned on this link that the CodeMirror lib will support JSX by default in the editor.

But when I use JSX mode, I do see an invalid System error in the editor.

Please see this image:

    indentUnit: 2,
    tabSize: 2,
    mode: 'jsx'

Change History (2)

#1 @sabernhardt
14 months ago

  • Component changed from General to External Libraries

#2 @SergeyBiryukov
13 months ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.