Pasting code into pre-formatted text in Visual Editor not working in 3.3.1
Pre-formatted text in the Visual Editor is not behaving like I'm used to. I've got an old installation (3.2.1), and when create pre-formatted text, all the line-breaks and spacing is preserved. In the latest version (3.3.1), the line breaks are interpreted as new paragraphs, and the code is broken across those paragraphs, leading spaces removed.
Process:
- Copy code from text editor.
- Click on the New Post link.
- Choose Preformatted from the format menu.
- Paste (ctrl-v).
3.2.1 - Correctly formatted code
3.3.1 - Incorrectly formatted code
I know I can switch to code view and put tags in myself, but I'm not looking for a workaround.
Topic formatting tinymce visual-editor Wordpress
Category Web