Page MenuHomePhabricator

VisualEditor: Linebreaks not preserved when converting preformatted text to paragraph text. ↵ Displayed in VE but not saved.
Open, MediumPublic


Screenshot explaining issue with visualeditor

These are the steps:

*Create a preformatted multiline text, inserting a space before each line, in source mode.
*Open visualeditor, select the text inside the box (the preformatted text)
*Change text type to "paragraph"
*The text is badly converted, return characters appear on the line. If the text is saved the return characters are lost.
*This happens in other cases too, tab symbols are displayed sometimes.

Thank you.

Version: unspecified
Severity: normal




Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:28 AM
bzimport set Reference to bz54794.
Mc128k created this task.Sep 30 2013, 5:59 PM

The ↵ characters indicate that the newline is preserved as if you edit the page subsequently and convert the paragraph to preformatteed the line breaks return.

Jdforrester-WMF lowered the priority of this task from High to Medium.Jan 15 2015, 12:32 AM
Jdforrester-WMF set Security to None.