Last modified: 2014-11-14 21:16:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56381, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54381 - VisualEditor: Long lines in preformatted paragraphs should not wrap in VE
VisualEditor: Long lines in preformatted paragraphs should not wrap in VE
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Low minor
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-20 16:27 UTC by Chris McKenna
Modified: 2014-11-14 21:16 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Preformatted text in Edit- word wrapping is present (28.82 KB, image/png)
2014-11-14 21:15 UTC, etonkovidova
Details
Read - no word wrapping (39.81 KB, image/png)
2014-11-14 21:16 UTC, etonkovidova
Details

Description Chris McKenna 2013-09-20 16:27:42 UTC
When a pre-formatted paragraph with long lines is displayed in VE it word wraps. However it doesn't word-wrap in display mode (bug 260), meaning that you have no idea that you need to add manual line breaks until after you have saved.

See https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox3&oldid=573792519#Section_number_three (rendered) and https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox3&oldid=573792519&veaction=edit&section=2 (in VE)

The word wrapping in VE is actually better than what happens in read mode, but the two should not be different. Fixing bug 260 would be better, but as it's been open since 2004 adjusting VE to match the current behaviour seems more realistic :/
Comment 1 James Forrester 2014-11-13 12:19:41 UTC
Alternatively we could fix this bug in MediaWiki…
Comment 2 etonkovidova 2014-11-14 21:15:34 UTC
Created attachment 17129 [details]
Preformatted text in Edit- word wrapping is present
Comment 3 etonkovidova 2014-11-14 21:16:27 UTC
Created attachment 17130 [details]
Read - no word wrapping

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links