Ghost/ghost/admin/lib/koenig-editor/addon/templates/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.hbs Koenig - HR card with markdown text expansion 2018-01-30 15:19:30 +00:00
koenig-card-html.hbs Koenig - Add caption to HTML/embed card 2018-02-20 15:53:58 +00:00
koenig-card-image.hbs Koenig - Image card 2018-02-22 20:41:40 +00:00
koenig-card-markdown.hbs Koenig - Initial Spirit styles integration 2018-02-20 15:05:19 +00:00
koenig-card.hbs Koenig - Image card 2018-02-22 20:41:40 +00:00
koenig-editor.hbs Koenig - Image card 2018-02-22 20:41:40 +00:00
koenig-plus-menu.hbs Koenig - HTML card template 2018-02-03 19:20:50 +01:00
koenig-slash-menu.hbs Koenig - Slash menu 2018-02-03 17:54:57 +01:00
koenig-toolbar.hbs Koenig - Cleanup toolbar invocation 2018-02-20 15:20:35 +00:00