1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Debug mode disables editor

Discussion in 'Troubleshooting and Problems' started by AndyB, Sep 5, 2013.

  1. AndyB

    AndyB Well-Known Member

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

  2. Jeremy

    Jeremy Well-Known Member

    It looks like there's either a conflict or invalid JavaScript. Are there by other errors?
  3. AndyB

    AndyB Well-Known Member

    No that's the only error showing in the error console.
  4. Jeremy

    Jeremy Well-Known Member

    If you disable debug mode does the editor return?
  5. AndyB

    AndyB Well-Known Member

    Okay I found the problem.

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

    <xen:require js="js/redactor/redactor.full.js" />
    <xen:require js="js/redactor/redactor.js" />
  6. AndyB

    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.

Share This Page