Ghost/ghost/admin/lib/koenig-editor/addon/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.js extract {{kg-action-bar}} component 2019-05-01 13:57:00 +01:00
koenig-alt-input.js Added ability to edit alt text for image cards 2019-07-23 18:13:41 +01:00
koenig-basic-html-input.js Use extracted @tryghost/kg-clean-basic-html package 2019-05-02 17:14:00 +01:00
koenig-caption-input.js do not show card toolbar if caption has focus 2019-05-01 15:13:49 +01:00
koenig-card-bookmark.js Added bookmark card and integrated it as fallback for unknown embeds (#1293) 2019-08-27 15:10:31 +01:00
koenig-card-code.js Update dependency eslint-plugin-ghost to v0.3.0 (#1247) 2019-06-24 16:33:21 +01:00
koenig-card-embed.js Added bookmark card and integrated it as fallback for unknown embeds (#1293) 2019-08-27 15:10:31 +01:00
koenig-card-gallery.js 🐛 Fixed unexpected image positions when re-ordering gallery images 2019-07-05 14:54:22 +01:00
koenig-card-hr.js Koenig - Added reading time and word count display 2018-07-20 15:53:21 +01:00
koenig-card-html.js Update dependency eslint-plugin-ghost to v0.3.0 (#1247) 2019-06-24 16:33:21 +01:00
koenig-card-image.js Added ability to edit alt text for image cards 2019-07-23 18:13:41 +01:00
koenig-card-markdown.js Update dependency eslint-plugin-ghost to v0.3.0 (#1247) 2019-06-24 16:33:21 +01:00
koenig-card.js Update dependency eslint-plugin-ghost to v0.3.0 (#1247) 2019-06-24 16:33:21 +01:00
koenig-editor.js Added bookmark card and integrated it as fallback for unknown embeds (#1293) 2019-08-27 15:10:31 +01:00
koenig-link-input.js Koenig - Added rich-text support to captions 2018-08-08 13:38:41 +01:00
koenig-link-toolbar.js Koenig - Minor design refinements 2018-08-14 14:35:13 +01:00
koenig-menu-content.js Koenig - Embed card 2018-06-12 14:07:50 +01:00
koenig-plus-menu.js Koenig - Unsplash integration 2018-08-10 18:11:35 +01:00
koenig-slash-menu.js Fixed slash-menu appearing empty immediately after setting title on new post 2019-04-29 17:08:40 +02:00
koenig-toolbar.js Koenig - Added rich-text support to captions 2018-08-08 13:38:41 +01:00