Ghost/ghost/admin/lib/koenig-editor/addon/templates/components
Rishabh Garg 7543d23e3d Added bookmark card and integrated it as fallback for unknown embeds (#1293)
requires https://github.com/TryGhost/Ghost/pull/11024

With the bookmark card you can present links in a much richer format, similar to Twitter cards. If the URL points to a page with right meta information it can show the page title, excerpt, author, publisher and even a preview image.

Bookmark cards can be created in two ways:

1. pasting a link as the first thing in blank paragraph - we'll check to see if we can create an embed, if we can't then we'll create a bookmark card instead
2. manually selecting the bookmark card from the (+) menu or by typing "/bookmark<kbd>Enter</kbd>" or "/bookmark {url}<kbd>Enter</kbd>" for short (you might want to do this if you want the bookmark version instead of a full embed)

Pressing <kbd>Ctrl/Cmd+Z</kbd> after pasting will convert the bookmark card back to a link if that's preferred, alternatively a URL can be pasted with <kbd>Ctrl/Cmd+Shift+V</kbd> to avoid any automatic transformation to an embed/bookmark.

---

- adds "bookmark" card that functions similarly to the embed card
- if the oembed API request returns `type: "bookmark"` then the metadata is used to create a bookmark card
2019-08-27 15:10:31 +01:00
..
kg-action-bar.hbs extract {{kg-action-bar}} component 2019-05-01 13:57:00 +01:00
koenig-alt-input.hbs Added ability to edit alt text for image cards 2019-07-23 18:13:41 +01:00
koenig-basic-html-input.hbs Koenig - Allow clicks on rich-text captions to place cursor immediately 2018-08-08 15:48:31 +01:00
koenig-caption-input.hbs Koenig - Added rich-text support to captions 2018-08-08 13:38:41 +01:00
koenig-card-bookmark.hbs Added bookmark card and integrated it as fallback for unknown embeds (#1293) 2019-08-27 15:10:31 +01:00
koenig-card-code.hbs fix caption placeholder text 2019-05-01 09:54:04 +01:00
koenig-card-embed.hbs Fixing negative margins of Koenig embeds 2018-11-20 11:12:15 +01:00
koenig-card-gallery.hbs Fixed drop indicator not showing if placed directly between images (#1082) 2018-12-11 12:13:15 +00:00
koenig-card-hr.hbs Koenig - Deselect cards when a click happens outside of the editor canvas 2018-06-14 12:21:22 +01:00
koenig-card-html.hbs 🐛 Fixed editor undo states for card contents (#1064) 2018-11-06 14:43:19 +00:00
koenig-card-image.hbs Added ability to edit alt text for image cards 2019-07-23 18:13:41 +01:00
koenig-card-markdown.hbs 🐛 Fixed editor undo states for card contents (#1064) 2018-11-06 14:43:19 +00:00
koenig-card.hbs Added ability to edit alt text for image cards 2019-07-23 18:13:41 +01:00
koenig-editor.hbs Koenig - Added reading time and word count display 2018-07-20 15:53:21 +01:00
koenig-link-input.hbs 🐛 Koenig - Fixed Safari scrolling to bottom of post when using link input 2018-07-18 12:54:09 +01:00
koenig-link-toolbar.hbs 🎨 Updated admin area design and usability (#1232) 2019-06-18 11:47:20 +01:00
koenig-menu-content.hbs Koenig - Updated menu icons 2018-08-10 11:18:02 +01:00
koenig-plus-menu.hbs 🐛 Koenig - Fixed required double-click on (+) when cursor is not in same paragraph 2018-07-18 15:04:02 +01:00
koenig-slash-menu.hbs Koenig - Embed card 2018-06-12 14:07:50 +01:00
koenig-toolbar.hbs 🎨 Updated admin area design and usability (#1232) 2019-06-18 11:47:20 +01:00