WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Crayon Syntax Highlighter] Code added to the top of article

[Resolved] [Plugin: Crayon Syntax Highlighter] Code added to the top of article

Viewing 8 replies - 1 through 8 (of 8 total)
  • jlawrence11
    Member

    @jlawrence11

    I have the same issue. I haven’t tried to use it since I last updated the plugin so I am guessing that is the reason..or firefox updating. I haven’t had a chance to look at why it might be happening yet.

    Running Windows 7, Firefox 16
    Also happens with Ubuntu and Firefox 15

    jlawrence11
    Member

    @jlawrence11

    From what I can tell, the error appears to be within QTags, as selectionStart is set to 0 in the visual editor…at all times it appears(unless you go into the HTML editor – which is the actual textarea being used – and move the cursor in there, then the selectionStart changes, but resets going back to the visual editor). Going in to HTML editing the insert works properly for Crayon. Crayon also inserts correctly in Visual mode in Chrome. I don’t know QTags or TinyMCE well enough to try and debug it further, so I don’t know how to solve this – but again, I don’t think it is an error with the Crayon plugin.

    Just my opinion though – if you can fix it, I am all for it.

    Plugin Author akarmenia
    Member

    @akarmenia

    Hmm, seems to be a problem with TinyMCE and Firefox.

    Same problem!
    Ubuntu12.04 + Firefox has the problem
    Ubuntu12.04 + Chrome doesn’t have the problem

    So I think something wrong with Firefox and Crayon Syntax Highlighter

    Email:northcamel@gmail.com

    Plugin Author akarmenia
    Member

    @akarmenia

    Yeah as it stands the error seems to occur in Firefox and is due to methods defined in TinyMCE. There’s likely a solution that avoids using these methods or something, but I’ve been busy working on exams and will be free in about 2 weeks to fix these issues. In the meantime you could try rolling back a few versions or using chrome.

    Plugin Author akarmenia
    Member

    @akarmenia

    Hmm… Seems to work fine now with Firefox 16 and Crayon 1.14: https://github.com/aramkocharyan/crayon-syntax-highlighter/archive/master.zip

    work fine now with Firefox 16 and Crayon 1.14

    update your Crayon!

    Plugin Author akarmenia
    Member

    @akarmenia

    Hurray!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] [Plugin: Crayon Syntax Highlighter] Code added to the top of article’ is closed to new replies.