mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
95d99192b4
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 |
||
---|---|---|
.. | ||
annotations | ||
nodes | ||
styles | ||
ve.ce.Annotation.js | ||
ve.ce.AnnotationFactory.js | ||
ve.ce.BranchNode.js | ||
ve.ce.ContentBranchNode.js | ||
ve.ce.Document.js | ||
ve.ce.DomRange.js | ||
ve.ce.FocusableNode.js | ||
ve.ce.js | ||
ve.ce.LeafNode.js | ||
ve.ce.Node.js | ||
ve.ce.NodeFactory.js | ||
ve.ce.ProtectedNode.js | ||
ve.ce.RelocatableNode.js | ||
ve.ce.ResizableNode.js | ||
ve.ce.Surface.js | ||
ve.ce.SurfaceObserver.js | ||
ve.ce.View.js |