Last modified: 2014-11-03 23:24:23 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 T74706, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72706 - VisualEditor: When applying the <pre> formatting to multiple paragraphs, make them instead a single <pre> with newlines between the paragraphs
VisualEditor: When applying the <pre> formatting to multiple paragraphs, make...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-29 21:52 UTC by dr0ptp4kt
Modified: 2014-11-03 23:24 UTC (History)
6 users (show)

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


Attachments

Description dr0ptp4kt 2014-10-29 21:52:00 UTC
I was wondering if we could have a feature whereby multiline selected text could be enveloped in one <pre> or <code> when the corresponding heading level or text formatting option is clicked from the toolbar.
Comment 1 Elitre 2014-10-30 11:55:24 UTC
(If I select multiple lines, I'm able to wrap them in code tags using the corresponding option in the toolbar. How is this different from your request?)
Comment 2 dr0ptp4kt 2014-10-30 16:14:56 UTC
Suppose one visits an article using Google Chrome for Mac OS. After selecting two consecutive paragraphs in the "Viewing Profile Info" section, then choosing either "Preformatted" from the heading level dropdown, or "{ } Computer code" from the text formatting popover "pane", two <code> or two <pre> sections are created, not one. Furthermore, if one starts a new stanza with "Preformatted" or "{ } Computer code" heading level / formatting, upon pressing the Enter key (as well as Command+Enter for the typical non-terminating line break in Mac OS or Shift+Enter), the editing context switches out of <pre> or <code> mode.
Comment 3 dr0ptp4kt 2014-10-30 16:15:21 UTC
Ignore the "Viewing Profile Info" part. It could be any section :)

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


Navigation
Links