Closed bschwenk closed 6 years ago
Which RTE (Rich Text Editor) do you have installed and running? Which Code Editor do you have installed and running?
This looks related to a MODX extra, not the MODX core?
It's TinyMCE. I thought TinyMCE was included with a vanilla install. Screenshot attached for reference. If that's not the case, please close the issue and my apologies for the inconvenience.
TinyMCE is a third party extra. It is not a part of the manager core. Additionally, the attached picture does not look like TinyMCE to me, it looks like CodeMirror or something?
I'm closing this issue, but feel free to respond and we will try to find the correct place to file this issue.
@modxbot close
It should be an ACE issue and you could open an issue there. Maybe it is still maintained.
ACE only works on the content field, when no RTE is active. And for some reason ACE tries to detect the content type, switches to mode-undefined, tries to load the according script and fails because it is not found.
Summary
Changing the resource type to RSS in the "Settings" tab blocks editing in the RTE.
Step to reproduce
Observed behavior
RTE now shows no syntax highlighting, and it's not possible to edit any text in the RTE until you change the resource type again then manually refresh.
Browser console shows JS error:
GET https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.4/mode-undefined.js net::ERR_ABORTED
Network tab also shows error 400 on this resource.
Environment
MODX Revolution 2.5.7-pl (traditional) nginx (hosted MODX cloud)