Ghost/ghost/admin/lib/koenig-editor
Kevin Ansfield c763b3218e 🐛 Fixed drag-n-drop card reordering interfering with caption and markdown/html card text selection
closes  https://github.com/TryGhost/Ghost/issues/10399
- added a data attribute `data-koenig-dnd-disabled` which will prevent the element or any of it's children from initiating a koenig drag event
  - applied the data attribute to `{{koenig-basic-html-input}}`'s outer tag so that captions never initiate a card re-order
- disabled card re-ordering when a card is in edit mode
  - allows text selection within a markdown/html card without triggering the card re-order behaviour
  - clicking another card will exit edit mode and re-enable drag before the drag behaviour is initiated so you can still re-order other cards if you've left a card in edit mode
2019-01-28 09:35:58 +00:00
..
addon 🐛 Fixed drag-n-drop card reordering interfering with caption and markdown/html card text selection 2019-01-28 09:35:58 +00:00
app Added drag-n-drop re-ordering of images within gallery cards (#1073) 2018-12-11 10:05:59 +00:00
docs/specs Koenig reboot - rich text (#952) 2018-01-30 10:01:07 +00:00
public/icons/koenig Update Unsplash logo 2019-01-23 15:05:28 +07:00
index.js Koenig reboot - rich text (#952) 2018-01-30 10:01:07 +00:00
package.json Migrate to latest ember, ember-mocha and modern ember testing (#1044) 2019-01-02 09:58:55 +00:00