Ghost/ghost/admin/lib/koenig-editor
Kevin Ansfield 0f517ad4e6 Added scroll-into-view behaviour for inline image selector
refs https://github.com/TryGhost/Team/issues/1225

- added `scrollToCard` action to `koenig-editor` and passed it through to all card components curried to already include the card as an argument
  - action selects the card which places the cursor on it, then triggers our existing cursor scroll-into-view behaviour with an option to allow scrolling a card into view
- updated our cursor scroll-into-view behaviour so if the cursor is large (eg, when it covers a card's height) we make sure the top of the cursor is kept in view rather than the bottom
  - ensures that on small-height screens, opening the gif selector doesn't result in it's search bar being scrolled off screen
2021-11-24 20:02:10 +00:00
..
addon Added scroll-into-view behaviour for inline image selector 2021-11-24 20:02:10 +00:00
app Added image card placeholder-style image selector and switched gifs card 2021-11-24 16:17:02 +00:00
docs/specs Koenig reboot - rich text (#952) 2018-01-30 10:01:07 +00:00
public/icons/koenig Replaced GIF icon 2021-11-19 10:32:43 +01:00
index.js Koenig reboot - rich text (#952) 2018-01-30 10:01:07 +00:00
package.json Added an emoji picker for the callout card 2021-11-15 14:19:20 +01:00