Ghost/ghost/admin/lib/koenig-editor/addon/components
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
..
koenig-basic-html-input.js 🐛 Fixed drag-n-drop card reordering interfering with caption and markdown/html card text selection 2019-01-28 09:35:58 +00:00
koenig-caption-input.js Fixed error thrown by editor caption input when pressing Escape 2018-12-13 15:22:47 +00:00
koenig-card-code.js Koenig - Design refinements (#1032) 2018-08-08 13:14:02 +01:00
koenig-card-embed.js Koenig - Added rich-text support to captions 2018-08-08 13:38:41 +01:00
koenig-card-gallery.js Added drag-and-drop card re-ordering in the editor (#1085) 2018-12-17 14:02:40 +00:00
koenig-card-hr.js Koenig - Added reading time and word count display 2018-07-20 15:53:21 +01:00
koenig-card-html.js Koenig - Design refinements (#1032) 2018-08-08 13:14:02 +01:00
koenig-card-image.js 🐛 Fixed editor undo states for card contents (#1064) 2018-11-06 14:43:19 +00:00
koenig-card-markdown.js Koenig - Design refinements (#1032) 2018-08-08 13:14:02 +01:00
koenig-card.js Added drag-and-drop card re-ordering in the editor (#1085) 2018-12-17 14:02:40 +00:00
koenig-editor.js 🐛 Fixed drag-n-drop card reordering interfering with caption and markdown/html card text selection 2019-01-28 09:35:58 +00:00
koenig-link-input.js Koenig - Added rich-text support to captions 2018-08-08 13:38:41 +01:00
koenig-link-toolbar.js Koenig - Minor design refinements 2018-08-14 14:35:13 +01:00
koenig-menu-content.js Koenig - Embed card 2018-06-12 14:07:50 +01:00
koenig-plus-menu.js Koenig - Unsplash integration 2018-08-10 18:11:35 +01:00
koenig-slash-menu.js Koenig - Unsplash integration 2018-08-10 18:11:35 +01:00
koenig-toolbar.js Koenig - Added rich-text support to captions 2018-08-08 13:38:41 +01:00