WordPress.org

Ready to get started?Download WordPress

Forums

HTML Editor Syntax Highlighter
[resolved] Bug found (7 posts)

  1. collinprice
    Member
    Posted 2 years ago #

    There is a bug that when the user has the visual editor disabled this plugin does not show up. To fix it, I added the following to the javascript:
    ...
    [42 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    ...

    Thanks for the great plugin.

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

  2. collinprice
    Member
    Posted 2 years ago #

  3. Petr Mukhortov
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Collin,

    Thanks a lot for the fix. I've added it to the 1.1 release.

  4. scrupulosis
    Member
    Posted 2 years ago #

    Installed version 1.1 and could not get it to work with visual editor disabled.
    I think you forgot to remove line 33
    switchEditors.switchto(document.getElementById("content-html"));
    following collinprice fix.

    Thanks for your plugin.

  5. netaction
    Member
    Posted 2 years ago #

    I can confirm the bug in plugin version 1.1.

  6. Petr Mukhortov
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks guys for helping with the plugin. Fixed in v1.2

  7. netaction
    Member
    Posted 2 years ago #

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic