No Code Attached Yet
avatar PhocaCz
PhocaCz
28 Oct 2023

Steps to reproduce the issue

Open for example a PHP file in template file editor (with CodeMirror editor - this is default)

Expected result

Syntax highlighting for different code parts like variables, operator, etc. should be displayed.

Actual result

Syntax highlighting for different code parts like variables, operator, etc. is missing (in comparison to Joomla 4 version)

Joomla 5:
codemirror

codemirror

Joomla 4
codemirror

codemirror

System information (as much as possible)

Joomla 5

avatar PhocaCz PhocaCz - open - 28 Oct 2023
avatar joomla-cms-bot joomla-cms-bot - change - 28 Oct 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Oct 2023
avatar brianteeman
brianteeman - comment - 28 Oct 2023

it is a different version of codemirror - not everything is the same

avatar HLeithner HLeithner - change - 29 Oct 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-10-29 07:55:28
Closed_By HLeithner
avatar HLeithner HLeithner - close - 29 Oct 2023
avatar HLeithner
HLeithner - comment - 29 Oct 2023

The new CodeMirror 6.0 php highlighter works different then the last one. It might or might not be expected please open an issue at https://github.com/codemirror/dev/issues
I'm closing this here because it's an upstream issue.

thanks for reporting

Add a Comment

Login with GitHub to post a comment