WordPress.org

Ready to get started?Download WordPress

Forums

Editor Syntax Highlighter
Doesn't work in WP 3.4.1 (2 posts)

  1. dandv
    Member
    Posted 1 year ago #

    The editor for pages doesn't highlight anything.

    The editor for plugins and themes attempts to highlight, but only shows line numbers and no highlight.

    http://wordpress.org/extend/plugins/editor-syntax-highlighter/

  2. dandv
    Member
    Posted 1 year ago #

    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'

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags