1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/lib/koenig-editor/addon/components
Kevin Ansfield 7967ee3894 Koenig - Embed card
refs https://github.com/TryGhost/Ghost/issues/9623
requires https://github.com/TryGhost/Ghost/pull/9666
- `{{koenig-card-embed}}`
    - URL input
    - perform oembed lookup & fetch on <kbd>Enter</kbd>
    - remove card if enter pressed with empty URL
    - show error message on server error
        - "retry" returns to input bar
        - "paste as link" removes card and outputs link
        - "X" removes card
    - force embedded <script> tags to run
    - wrap embed html with `.koenig-embed-{video,photo,rich}` class
- add embed cards to the (+) and /-menus
    - "section" support in the card menus
    - refactor to use single card menu map and content component for both menus
    - update /-menu keyboard movement to handle sections
- add parameter support to /-menu commands
  - `/embed {url}` will insert embed card and automatically fetch oembed for supplied url
2018-06-12 14:07:50 +01:00
..
koenig-card-code.js Koenig - Fix card tests (missing action placeholders) 2018-05-23 11:59:20 +01:00
koenig-card-embed.js Koenig - Embed card 2018-06-12 14:07:50 +01:00
koenig-card-hr.js Koenig - Fix card tests (missing action placeholders) 2018-05-23 11:59:20 +01:00
koenig-card-html.js Koenig - Fix card tests (missing action placeholders) 2018-05-23 11:59:20 +01:00
koenig-card-image.js Koenig - Do not show image toolbar until image is uploaded 2018-05-31 09:45:58 +01:00
koenig-card-markdown.js Koenig - Fix card tests (missing action placeholders) 2018-05-23 11:59:20 +01:00
koenig-card.js Koenig - Embed card 2018-06-12 14:07:50 +01:00
koenig-editor.js Koenig - Embed card 2018-06-12 14:07:50 +01:00
koenig-link-input.js Koenig - Switch this.get for ES5 getters 2018-05-01 17:13:53 +01:00
koenig-link-toolbar.js Koenig - Switch this.get for ES5 getters 2018-05-01 17:13:53 +01:00
koenig-menu-content.js Koenig - Embed card 2018-06-12 14:07:50 +01:00
koenig-plus-menu.js Koenig - Embed card 2018-06-12 14:07:50 +01:00
koenig-slash-menu.js Koenig - Embed card 2018-06-12 14:07:50 +01:00
koenig-toolbar.js Koenig - Fixed "set on destroyed object" error 2018-05-28 16:54:16 +01:00