Support » Plugin: Enlighter - Customizable Syntax Highlighter » HTML indention not working as it should

  • Resolved Mathias Joergensen

    (@officialmoofy)


    Hello!

    I know a lot of indention problems are around, however I only seem to have issues with it using HTML.

    If I go to my TinyMCE visual pane and click the “Enlighter Code Insert” button, paste the source code and hit OK it just converts all my tags strangely. Nothing is showing, only the text within tags. The tags themselves are not showing.

    If I go to formats -> enlighter code blocks -> html and paste the code there it works fine, however there’s no indentation what-so-ever.

    I hope there’s a fix for this and really quick, I love this plugin and want it to improve as much as possible!

    Also a feature request perhaps, line padding? I don’t know if that option is there somewhere. If so, I must have missed it. 🙂

    https://wordpress.org/plugins/enlighter/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Oh also, when using the Enlighter Code Insert it doesn’t convert the < and > etc into html entities. I think that’s the main issue with it. And that it doesn’t work with the tab indention either, seems like an easy fix if this information is enough to make it happen.

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    Dear Mathias,
    this issue is already known (https://github.com/AndiDittrich/WordPress.Enlighter/issues/6) and fixed in the current development version.
    i will try to release the new enlighter version at the upcoming weekend.

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    Dear Mathias,
    sry for my late response. i’ve just updated the plugin including the fix.

    Andi, for me is not working the indention, with the “Enlighter Code Insert” or using formats option. Tried with Javascript and HTML and nothing, what can be the issue?

    Thanks

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    What’s exactly happend ? could you provide an example please ? 🙂

    Sadly I’ve moved away from WordPress, otherwise glad you fixed it for future users. This was & still is the best code highlighter for WordPress, should be well maintained!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘HTML indention not working as it should’ is closed to new replies.