Page MenuHomePhabricator

VisualEditor: For alienated block nodes in inline positions, alienation area is a single line, not the whole block
Closed, ResolvedPublic

Description

Take for example this:
https://en.wikipedia.org/wiki/AMS-LaTeX?veaction=edit

The green alienation is only covering one line of the Math block after the sentence: "causes the equals signs in the two lines to be aligned with one another, like this:"

Screen_Shot_2013-07-05_at_08.46.08.png (179×349 px, 22 KB)

See Also: T66625: VisualEditor: For formulae (and some other nodes?), inspection trigger region is a single line, not the whole block

Details

Reference
bz50791

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:47 AM
bzimport set Reference to bz50791.
matmarex updated the task description. (Show Details)
matmarex subscribed.

This doesn't seem to be a problem any more, even if I make the visual editor forget what math nodes are:

ve.dm.converter.modelRegistry.unregister(ve.dm.MWMathNode);
ve.dm.converter.modelRegistry.unregister(ve.dm.MWAlienBlockExtensionNode);
ve.dm.converter.modelRegistry.unregister(ve.dm.MWAlienInlineExtensionNode);

image.png (402×1 px, 47 KB)

This might have been fixed by the same patch as T66625, years ago.