Open
Description
Steps to reproduce:
- Find some preformatted text (using
<pre>
) on the web and copy the content. - Open the WPAndroid app.
- Go to Profile (Me) > App Settings > Use Block Editor and toggle it off.
- Create a new post.
- Paste in the content from step 1.
- Publish the post and view it from your device.
Sample content:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam elit erat, tincidunt posuere neque a, ultrices euismod quam. Sed at dui ex. Mauris vestibulum id dui eget maximus. Aenean bibendum nisi nec porttitor vehicula. In quis leo nec orci semper blandit. Aliquam erat volutpat. Nullam lobortis, ligula quis mollis posuere, enim nulla auctor nunc, eu sodales libero lacus sit amet dolor. Aenean vitae risus vel nisi auctor varius sit amet non nunc. Sed sollicitudin, quam vitae semper rhoncus, nunc magna condimentum dui, quis convallis lectus est ac massa.
Curabitur eu libero quam. Maecenas sed suscipit est. In pharetra dictum mi sed pharetra. Sed a cursus mauris. Proin convallis vehicula odio, non sagittis erat. Maecenas tortor augue, congue quis sodales in, ultrices et sem. Curabitur non enim id velit vestibulum hendrerit quis nec nisi. Sed sagittis eu tortor non imperdiet. Curabitur risus tortor, venenatis non suscipit in, lacinia ac velit. Pellentesque quis nisi ex. Phasellus sit amet ligula mauris.
Result: preformatted text copied into the Aztec editor keeps it's formatting and runs off the screen since the <pre>
tag should not have any breaks in white space. This is a point of confusion for users who aren't aware that they are even copying the preformatted text that is using <pre>
and likely aren't even aware of the HTML at all.
(internal reference: p4a5px-2pZ-p2) cc @charliescheer