mediawiki-extensions-Visual.../modules/ve/actions
Ed Sanders 1261a5f471 Fix unindent action when acting on multiple list items
This is caused by a limitation of surface fragments in that they
always expand to include insertions touching them. In this case
we build surface fragments contain adjacent listItems, so when
the first listItem is de-listed a transaction is first created to
split the list. This insertion of ('/list', 'list') is adjacent
to the second surface fragment and so becomes part of that fragment.

This then causes the wrong node to be passed to unindentListItem.

The workaround is to use the inner range of the listItem, not
the outer range.

Bug: 48390

Change-Id: I7418910412d292ef4953e294a97f66e48d6f776f
2013-05-12 22:15:09 +01:00
..
ve.AnnotationAction.js Configurable insertion annotations 2013-05-06 22:57:35 +00:00
ve.ContentAction.js The resurrection 2013-04-22 12:50:23 +01:00
ve.FormatAction.js The resurrection 2013-04-22 12:50:23 +01:00
ve.HistoryAction.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.IndentationAction.js Fix unindent action when acting on multiple list items 2013-05-12 22:15:09 +01:00
ve.InspectorAction.js No more confusing boolean argument for closing windows 2013-04-10 12:31:49 -07:00
ve.ListAction.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00