Last modified: 2013-03-04 22:30:05 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 T47344, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45344 - VisualEditor: You cannot create pre-formatted blocks spanning multiple lines
VisualEditor: You cannot create pre-formatted blocks spanning multiple lines
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2013-03-18
Assigned To: Inez Korczyński
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-25 04:56 UTC by James Forrester
Modified: 2013-03-04 22:30 UTC (History)
4 users (show)

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


Attachments

Description James Forrester 2013-02-25 04:56:20 UTC
1. Create a document "First line.Second line"
2. Select this text and insert a newline between the '.' and the 'S' (currently, using the Enter key).

Expected result: a single <pre> block with a single newline after the full stop, converting to " First line.\n Second line" in wikitext. Note that this is trivially-obvious on MW Vector due to the "border: 1px dashed #2f6fab;".

Actual result: two separated <pre> blocks (with a slug between them), converting to " First line.\n\n Second line" in wikitext.

I presume that we'll want to retain Enter as a break-me-out-of-this-context newline, and use Shift-Enter to allow insertion of the above.
Comment 1 Christian Williams 2013-02-26 01:10:38 UTC
Fixed here: https://gerrit.wikimedia.org/r/#/c/50862/

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


Navigation
Links