Page MenuHomePhabricator

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

Description

Screenshot explaining issue with visualeditor

Hi
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

Attached:

Screen_Shot_2013-09-30_at_19.59.09.png (424×1 px, 58 KB)

Details

Reference
bz54794

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:28 AM
bzimport set Reference to bz54794.

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.