• Resolved Keirwatson

    (@keirwatson)


    I see in the screenshots that the example code is indented (with leading tab spaces) – something I was hoping this plugin would allow me to do.

    Although I can enter leading tabs to structure my code (especially nested <div>), however, if I switch to Visual view and back the tabs are stripped out, so I cannot get my code laid out clearly which is what I wanted to do.

    Am I missing something pretty basic here?

    Thanks

    https://www.ads-software.com/plugins/html-editor-syntax-highlighter/

Viewing 1 replies (of 1 total)
  • Plugin Author James Bradford

    (@arniebradfo)

    Switching to the visual editor and back will do a lot more than reformat whitespace. In most cases it will overwrite your code. WordPress has designed the visual editor to do this. The only way for this not to happen is to not use the visual editor. You can disable the visual editor entirely in your wp user settings.

    Sucks, I know.

Viewing 1 replies (of 1 total)
  • The topic ‘Tab indentation not preserved’ is closed to new replies.