Ghost/ghost/admin/lib/koenig-editor/addon/templates
Kevin Ansfield 1133370568 Koenig - Deselect cards when a click happens outside of the editor canvas
refs https://github.com/TryGhost/Ghost/issues/9623
- move click handler registration from `onEnterEdit` to `onSelect`
- add guard against deselecting for clicks on the editor canvas
  - prevents card being deselected when the click would have placed the cursor in a position that selected the card
  - requires editor instance to be passed through to `{{koenig-card}}` in all card components
2018-06-14 12:21:22 +01:00
..
components Koenig - Deselect cards when a click happens outside of the editor canvas 2018-06-14 12:21:22 +01:00