Support » Plugin: Enlighter - Customizable Syntax Highlighter » Copy & paste removes indentation and blank lines

  • Resolved cdonts

    (@cdonts)


    Hello again. I really like this plug in that’s why I’m always here trying to report errors so you can improve it 🙂

    With both C and Python code, when I copy from my blog to my text editor (notepad) or my IDE (geany) then the code is pasted without the original indentantion and blank lines.

    Thanks!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andi Dittrich

    (@andi-dittrich)

    Dear cdonts,
    thanks for your feedback.
    to solve such issues, a “copy button” feature was requested on GitHub. it affects all languages and is caused by the fact, that the posted sourcecode is completely modified by EnlighterJS to provide the highlighting. i will try to add the “copy button/raw code” feature to the next major release (v2.0)

    best regards, Andi

    cdonts

    (@cdonts)

    Thanks for your quick answer! Also still waiting this feature.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Copy & paste removes indentation and blank lines’ is closed to new replies.