I hate WYSIWYG, because it's so misleading. Look at https://python-forum.io/Thread-Python-co...25#pid8325 where the poster can't preserve indentation.
I tried to reproduce their problem and found that, spaces or tabs, pasting code into the WYSIWYG causes it to collapse. I noticed this because even though I use the less user-friendly thing at the bottom of a thread, when I hit "preview" then the post looked alright but the editor window had garbage in it. Hitting "preview" again without changing anything had the result that I expect from what the editor showed - lost indentation. So if they'd previewed and it looked good, then immediately posted, the indentation would be lost.
I realize that in theory the WYSIWYG editor could be fixed, but this is a programming forum and having button that give you the [[python]] tags should be enough. Thoughts?
I tried to reproduce their problem and found that, spaces or tabs, pasting code into the WYSIWYG causes it to collapse. I noticed this because even though I use the less user-friendly thing at the bottom of a thread, when I hit "preview" then the post looked alright but the editor window had garbage in it. Hitting "preview" again without changing anything had the result that I expect from what the editor showed - lost indentation. So if they'd previewed and it looked good, then immediately posted, the indentation would be lost.
I realize that in theory the WYSIWYG editor could be fixed, but this is a programming forum and having button that give you the [[python]] tags should be enough. Thoughts?