Ghost/ghost/admin/lib/koenig-editor/addon
Kevin Ansfield f021badb9f 🐛 Fixed unreachable toolbar when editing wrapped links (#1511)
closes https://github.com/TryGhost/Ghost/issues/9792

- use `getClientRects()` to get separate rectangles for each line of a link and use the mouse position to find the closest one so that the toolbar can be positioned relative to that link section on that line rather than always in the middle of the editor canvas
- pass the rectangle used for positioning the link toolbar through to the link input component so that there is no jumping of position when clicking the edit button
2020-03-07 18:22:56 +00:00
..
components 🐛 Fixed unreachable toolbar when editing wrapped links (#1511) 2020-03-07 18:22:56 +00:00
helpers Getting rid of super-thin font weights 2019-11-22 11:53:57 +01:00
lib 🐛 Fixed editor showing incorrect domain and "unsaved changes" modal for relative links 2019-10-29 11:57:29 +00:00
options Updated image card to trigger file browse immediately when inserting 2020-02-27 14:38:53 +00:00
services 🐛 Fixed unexpected image positions when re-ordering gallery images 2019-07-05 14:54:22 +01:00
templates/components 🐛 Fixed unreachable toolbar when editing wrapped links (#1511) 2020-03-07 18:22:56 +00:00
utils Updated to use count words/images helper from SDK (#1159) 2019-04-16 12:50:59 +05:30