Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt Kemp 2 posts 72 karma points
    Dec 21, 2015 @ 17:10
    Matt Kemp
    0

    Template editor not loading - condemirror.js

    I have Umbraco working locally fine, I uploaded it to my production server and the backoffice template and stylesheet editor got stuck loading.

    Using Fiddler I could see that /umbraco/lib/CodeMirror/lib/codemirror.js wasn't downloading properly. After a bit of trial and error the problem seems to be line 8230:

    var extendingChars = /[\u0300-\u036f  ... lots of character codes here ... ]/;
    

    Because it works locally I'm guessing it is some IIS security setting, but I don't know what it is.

    I've just replaced line 8230 with the following and I haven't found a problem so far:

    var extendingChars = /[\u0300-\u036f]/;
    

    I didn't find anything on this searching around the forum or StackOverflow so figured may as well post something here that might help someone else in the future.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies