Ghost/ghost/admin/lib/gh-koenig/addon/components
Ryan McCarvill 5724a94fbc improved card selection behaviour (#608)
Refs: https://github.com/TryGhost/Ghost/issues/8191
Refs: https://github.com/TryGhost/Ghost/issues/8194

Changes the selection behaviour of mobiledoc-cards:
If you navigate to a card with a keyboard or click on the new editor toolbar it "hard selects".
If you click into the body of a card to edit it it "soft selects".

When a card is "hard selected" you can navigate out of the card and to the previous or following blocks within the mobiledoc with the keyboard, you can delete the current card with the backspace or delete button, and you can create a new block following the card with the enter key.

When a card is soft selected it is simply displayed as selected and allows the user to edit content within the card.

New card toolbar:
Allows a user to delete the card, save the card, and "hard select" a card.

New title behaviour:
Pressing the enter key within the title "splits" the title at the cursor point, if multiple characters are selected they are first deleted, and creates a new paragraph at the top of the document with the trailing characters after the split.

gh-cm-editor updates:
Adds an on-focus event to gh-cm-editor
2017-03-30 15:29:08 +01:00
..
cards improved card selection behaviour (#608) 2017-03-30 15:29:08 +01:00
gh-koenig.js improved card selection behaviour (#608) 2017-03-30 15:29:08 +01:00
koenig-card.js improved card selection behaviour (#608) 2017-03-30 15:29:08 +01:00
koenig-menu-item.js 🐜 ️ Card menu fixes: 2017-03-20 10:30:26 +00:00
koenig-plus-menu.js 🐜 Card Menu Default State Enter Action (#600) 2017-03-21 14:05:49 +00:00
koenig-slash-menu.js 🐜 Card Menu Default State Enter Action (#600) 2017-03-21 14:05:49 +00:00
koenig-toolbar-blockitem.js 👯 ♥️ ♣️ ♦️ ♠️ New editor card menu (#580) 2017-03-14 11:59:34 +00:00
koenig-toolbar-button.js 👯 ♥️ ♣️ ♦️ ♠️ New editor card menu (#580) 2017-03-14 11:59:34 +00:00
koenig-toolbar-newitem.js 👯 ♥️ ♣️ ♦️ ♠️ New editor card menu (#580) 2017-03-14 11:59:34 +00:00
koenig-toolbar.js 🚀 Link improvements (#601) 2017-03-24 09:40:21 +00:00