mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
c763b3218e
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 |
||
---|---|---|
.. | ||
koenig-basic-html-input.js | ||
koenig-caption-input.js | ||
koenig-card-code.js | ||
koenig-card-embed.js | ||
koenig-card-gallery.js | ||
koenig-card-hr.js | ||
koenig-card-html.js | ||
koenig-card-image.js | ||
koenig-card-markdown.js | ||
koenig-card.js | ||
koenig-editor.js | ||
koenig-link-input.js | ||
koenig-link-toolbar.js | ||
koenig-menu-content.js | ||
koenig-plus-menu.js | ||
koenig-slash-menu.js | ||
koenig-toolbar.js |