Copied to clipboard
  • dandrayne 2261 karma points
    Oct 01, 2010 @ 11:45
    dandrayne
    0

    How to disable codeMirror (code editor)?

    Hi folks

    Does anyone know how to disable codeMirror from within the umbraco admin? 

    I find it very slow on large css files, but the thing that really gets me is changing tab indents to be "2 spaces", which makes the scripts and xslt a bit messy.  I use an external text editor to edit scripts anyway, so would love to know how to get rid of codemirror!

    Anyone have any ideas?

    Cheers,

    Dan

  • Lee Kelleher10328 karma points admin core mvp c-trib
    Oct 01, 2010 @ 12:59
    Lee Kelleher
    1

    Hi Dan,

    In umbracoSettings.config... set the "scriptDisableEditor" to true.

    Cheers, Lee.

  • dandrayne2261 karma points
    Oct 01, 2010 @ 13:33
    dandrayne
    0

    Seems obvious now ^^

    Cheers Lee

  • Lee Kelleher10328 karma points admin core mvp c-trib
    Oct 01, 2010 @ 13:36
    Lee Kelleher
    0

    It's the old "easy once you know how"! ;-)

Please Sign in or register to post replies

Write your reply to:

Draft
Our.umbraco.org is the community mothership for Umbraco, the open source asp.net cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community.