Ghost/ghost/admin/lib/koenig-editor/addon/components
Kevin Ansfield 5d552202f6 Koenig - Image card
refs https://github.com/TryGhost/Ghost/issues/9311
- add actions for cursor movement and pass through to card components
    - `moveCursorToNextSection` deselects card and places cursor at beginning of next section, useful for caption inputs where <kbd>down arrow</kbd> or <kbd>right arrow</kbd> should move the cursor out of the input & card. Also creates an empty paragraph before moving the cursor if for some reason an empty paragraph doesn't exist after the last card in the doc
    - `moveCursorToPrevSection` deselects card and places cursor at end of previous section, useful for caption inputs where <kbd>up arrow</kbd> or <kbd>left arrow</kbd> should move the cursor out of the input & card
    - `addParagraphAfterCard` deselects card, creates a new paragraph after the card and moves the cursor to it. Useful for caption inputs where <kbd>enter</kbd> should have the same behaviour as if it was pressed whilst the card is selected
- modify `{{gh-uploader}}` so that it passes the FileList to it's `onStart` closure action. Useful for displaying previews when uploading images
- modify `{{koenig-card}}` toolbar display so that it can display text as well as icon buttons
- update `{{koenig-card-image}}` so that it has a full image uploader and caption input
2018-02-22 20:41:40 +00:00
..
koenig-card-hr.js Koenig - HR card with markdown text expansion 2018-01-30 15:19:30 +00:00
koenig-card-html.js Koenig - Add caption to HTML/embed card 2018-02-20 15:53:58 +00:00
koenig-card-image.js Koenig - Image card 2018-02-22 20:41:40 +00:00
koenig-card-markdown.js Koenig - Remove old Koenig alpha code 2018-02-15 10:46:23 +00:00
koenig-card.js Koenig - Allow clicks on cards to pass through for inputs 2018-02-22 13:46:24 +00:00
koenig-editor.js Koenig - Image card 2018-02-22 20:41:40 +00:00
koenig-plus-menu.js Koenig - Slash menu 2018-02-03 17:54:57 +01:00
koenig-slash-menu.js Koenig - Card selection and deletion 2018-02-04 20:35:44 +01:00
koenig-toolbar.js Koenig - Cleanup toolbar invocation 2018-02-20 15:20:35 +00:00