Last modified: 2014-03-04 16:58:34 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 T63767, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61767 - VisualEditor: Extension tags that create block-level items aren't allowed inside pre-formatted rows in MW
VisualEditor: Extension tags that create block-level items aren't allowed ins...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-21 20:25 UTC by James Forrester
Modified: 2014-03-04 16:58 UTC (History)
6 users (show)

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


Attachments

Description James Forrester 2014-02-21 20:25:28 UTC
If you add a formula (or other inline item) to a normal paragraph, everything works in VE consistently with MW (yay).

If you add a formula (or other inline item) to a pre-formatted paragraph, everything still works works (yay).

If you add a gallery (or other block item) to a normal paragraph, everything works in VE consistently with MW (yay).

If you add a gallery (or other block item) to a pre-formatted paragraph, VE tries to let you do that, and MW decides retroactively that the paragraph wasn't actually pre-formatted (boo), unless it's a <pre>-formatted rather than indent-pre-formatted block, in which case galleries don't work.

Not tested with Headings, but there's probably similar wonkiness there too.

*sighs*
Comment 1 Ed Sanders 2014-03-04 16:58:34 UTC
Sounds like a Parsoid issue.

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


Navigation
Links