Support » Plugin: Advanced Code Editor » [Plugin: Advanced Code Editor] Syntax coloring doesn't work – CodeMirror JS error

  • Resolved dandv

    (@dandv)


    I saw this issue with another syntax highlighter plugin based on CodeMirror: after activating the plugin, when editing a file, the editor shows line numbers to the left, but no syntax coloring.

    Examining the JavaScript console in Chrome 21 shows this error:

    Uncaught TypeError: Object function CodeMirror(place, givenOptions) {
        // Determine effective options based on given values and defaults.
        var options = {}, defaults = CodeMirror.defaults;
        for (var opt in defaults)
    ....
      return instance;
      } has no method 'defineExtension'

    http://wordpress.org/extend/plugins/advanced-code-editor/

Viewing 1 replies (of 1 total)
  • Plugin Author Bainternet

    (@bainternet)

    issue is local at your setup so try deactivating other plugins and clearing you browser’s cache.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Advanced Code Editor] Syntax coloring doesn't work – CodeMirror JS error’ is closed to new replies.