mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
ba7e0ff273
This commit fixes two issues with insertion of annotations in blank space: * LanguageInspector issue with inserting an language annotation inside any whitespace (selection of space between words or collapsed selection in blank line) * AnnotationInspector issue with collapsed selection inside slugs. If the marker was in a slug collapsed selection, activating AnnotationInspector would expand the range to the closest word (on the next paragraph). This commit makes sure the expansion for the next word only happens if the selection is outside a slug. Change-Id: I144eccefba16131a3d2ec6a3181adf47a15d6cc0 |
||
---|---|---|
.. | ||
ve.ui.ButtonWidget.js | ||
ve.ui.IconButtonWidget.js | ||
ve.ui.InputLabelWidget.js | ||
ve.ui.InputWidget.js | ||
ve.ui.LanguageInputWidget.js | ||
ve.ui.LinkTargetInputWidget.js | ||
ve.ui.LookupInputWidget.js | ||
ve.ui.MenuItemWidget.js | ||
ve.ui.MenuSectionItemWidget.js | ||
ve.ui.MenuWidget.js | ||
ve.ui.OptionWidget.js | ||
ve.ui.OutlineControlsWidget.js | ||
ve.ui.OutlineItemWidget.js | ||
ve.ui.OutlineWidget.js | ||
ve.ui.PopupWidget.js | ||
ve.ui.SearchWidget.js | ||
ve.ui.SelectWidget.js | ||
ve.ui.SurfaceWidget.js | ||
ve.ui.TextInputMenuWidget.js | ||
ve.ui.TextInputWidget.js |