mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
bcaab3332e
Icon appears when scrolling and resizing window. Instead of always setting the context on scroll and resize, bind to the updateContextIcon method. Icon appears when selecting a non content data offset. Changed logic to show icon changed to content length vs range difference. Move Link inspector getSelectionText to ve.dm.document getText. Rationale, more bits of the code depend on evaluating content. Added new ve.Range truncate method. Remove getSelectionText, using truncate range & document.getText instead. Change-Id: Ibd3e99c923f18d2c96a86d92e74e2e9ebd49c85f |
||
---|---|---|
.. | ||
inspectors | ||
styles | ||
tools | ||
ve.ui.Context.js | ||
ve.ui.Inspector.js | ||
ve.ui.js | ||
ve.ui.Menu.js | ||
ve.ui.Tool.js | ||
ve.ui.Toolbar.js |