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.jpg
 

Jeremy

Well-known member
It looks like there's either a conflict or invalid JavaScript. Are there by other errors?
 

AndyB

Well-known member
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" />
 

AndyB

Well-known member
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