mediawiki-extensions-Visual.../modules/ve-mw
Moriel Schottlender 95d99192b4 Add a getDirectionFromRange Method to ve.ce.Document
getDirectionFromRange returns the direction property of the ce nodes under
that range. That method is mostly useful to recognize the overall block
direction of a selection or fragment.

The method is currently used in the following locations:
* ve.ui.Toolbar onContextChange - as a means to recognize the current context's
  block direction for the icon directionality.
* ve.ui.MWExtensionInspector - if the selection is text and not an existing node
  the input directionality adjusts to the context direction.

Bug: 57421
Change-Id: Ifc01b8e5dc0a2fe39d221e59e452c5cfad709a2d
2013-12-13 12:07:19 -08:00
..
ce Direction adjustment to <figure> styling 2013-12-12 19:15:53 +00:00
dm Fix issues with copy-pasting MWTransclusionNodes 2013-12-12 00:02:11 +00:00
i18n Initial re-styling of the toolbar 2013-12-11 23:41:12 +00:00
init mw.Target: Fix document focus scroll bug 2013-12-06 22:32:51 +01:00
test [Browser test] Update to use new text styling menu 2013-12-12 10:37:48 -05:00
ui Add a getDirectionFromRange Method to ve.ce.Document 2013-12-13 12:07:19 -08:00