You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A codemirror textarea that checks to code according to the chosen syntax. In this example: css
Actual result
The syntax check is not implemented because the syntax files could not be found.
This can be seen in the inspect window of the browser.
The Joomla-code / Codemirror-code (I don't know which) looks for the syntax file at (let's call it location A):
/media/vendor/codemirror/mode/text/css/text/css.min.js
The syntax code is located at (location B):
/media/vendor/codemirror/mode/css/css.min.js
Result the relevant syntax code is not found: there is something wrong with the path.
System information (as much as possible)
Joomla 4.4.5 on a windows 2019 server.
Additional comments
For the syntax php everything is allright.
For the syntax of css, js and sql it is not. Other syntaxes not tested.
SQL (just a little more wrong):
Location A: /domains/de4a.nl/public_html/media/vendor/codemirror/mode/text/x-sql/text/x-sql.min.js
Location B: /domains/de4a.nl/public_html/media/vendor/codemirror/mode/sql/sql.min.js
Quick fix
Copy the relevant files from location B to location A
The text was updated successfully, but these errors were encountered:
Hi Brian,
Thank you for taking the time to have a look at my bug-report. Just this week, while fixing this bug on my development environment on my Mac, I wondered if my bug would be looked at. So, thank you again.
I wil take some time next week to create a few screen shots, to show you in more detail, what I think is the matter.
For now, have a good weekend.
Regards,
Arend-Henk Huzen
Steps to reproduce the issue
In the XML-file of, for example, a module you can use the field type
editor
with editorcodemirror
.Add a field to the XML using the syntax for css. For example:
Expected result
A codemirror textarea that checks to code according to the chosen syntax. In this example: css
Actual result
The syntax check is not implemented because the syntax files could not be found.
This can be seen in the inspect window of the browser.
The Joomla-code / Codemirror-code (I don't know which) looks for the syntax file at (let's call it location A):
/media/vendor/codemirror/mode/text/css/text/css.min.js
The syntax code is located at (location B):
/media/vendor/codemirror/mode/css/css.min.js
Result the relevant syntax code is not found: there is something wrong with the path.
System information (as much as possible)
Joomla 4.4.5 on a windows 2019 server.
Additional comments
For the syntax php everything is allright.
For the syntax of css, js and sql it is not. Other syntaxes not tested.
JS:
Location A: /domains/de4a.nl/public_html/media/vendor/codemirror/mode/text/javascript/text/javascript.min.js
Location B: /domains/de4a.nl/public_html/media/vendor/codemirror/mode/javascript/javascript.min.js
SQL (just a little more wrong):
Location A: /domains/de4a.nl/public_html/media/vendor/codemirror/mode/text/x-sql/text/x-sql.min.js
Location B: /domains/de4a.nl/public_html/media/vendor/codemirror/mode/sql/sql.min.js
Quick fix
Copy the relevant files from location B to location A
The text was updated successfully, but these errors were encountered: