Ghost/ghost/admin/lib/koenig-editor
Kevin Ansfield 032a8def9e Koenig - Create image cards when pasting image files
refs https://github.com/TryGhost/Ghost/issues/9623
- detect pastes that contain image files and insert a card for each, setting `payload.files` to the `File` instance grabbed from the clipboard
- update the `addComponent` hook to ensure the `payload.files` array is preserved, browsers do not allow `File` instances to be copied
- update `{{koenig-card-image}}` to look for a `payload.files` value to auto-upload it via it's internal `{{gh-uploader}}`
- NOTE: browser support for accessing image files on paste varies:
    - Safari: will paste all images
    - Chrome: will only paste the first image
    - Firefox: will not paste any images
2018-05-29 15:23:50 +01:00
..
addon Koenig - Create image cards when pasting image files 2018-05-29 15:23:50 +01:00
app/components Koenig - Initial code card with MD expansion 2018-05-15 15:26:34 +01:00
docs/specs Koenig reboot - rich text (#952) 2018-01-30 10:01:07 +00:00
public/icons/koenig Koenig - Added Code Block card to (+) and / menus 2018-05-17 12:20:02 +01:00
index.js Koenig reboot - rich text (#952) 2018-01-30 10:01:07 +00:00
package.json Koenig reboot - rich text (#952) 2018-01-30 10:01:07 +00:00