XF 1.2 Debug mode disables editor

AndyB

Well-known member
When I enable debug mode, the editor does not load. The error console shows the following:

pic001.webp
 
Okay I found the problem.

Editing the editor_js_setup template, if I change the following line the editor shows:

default
PHP:
<xen:require js="js/redactor/redactor.full.js" />

modified
PHP:
<xen:require js="js/redactor/redactor.js" />
 
On my forum I run the full version of redactor.js so that I can modify the code. I renamed the files in that folder and that's why it didn't find the redactor.full.js file.

Thank you for your help, Jeremy.
 
Top Bottom