Ghost/ghost/admin/lib/gh-koenig/addon/templates/components/gh-koenig.hbs
Ryan McCarvill 9a0b72071d 👯 ♥️ ♣️ ♦️ ♠️ New editor card menu (#580)
refs https://github.com/TryGhost/Ghost/issues/8106, https://github.com/TryGhost/Ghost/issues/7429, requires https://github.com/TryGhost/Ghost/pull/8137

-Adds new "card" menus
  - Navigation with keyboard in both axis.
  - Search with keyboard in both menus.
  - Adds a "+" Menu for cards
  - Adds a "/" Menu for cards
    - if the block has content and it becomes a markdown or HTML Embed card then the content is included into the card.
    - Image and HR cards appear below the current section
- Adds new toolbar with both inline and block styling.
- Adds a new 'divider' card.
2017-03-14 11:59:34 +00:00

14 lines
535 B
Handlebars

{{#each emberCards as |card|}}
{{#ember-wormhole to=card.id}}
{{koenig-card card=card apiRoot=apiRoot assetPath=assetPath}}
{{/ember-wormhole}}
{{/each}}
<div class='gh-koenig'>
<div class='surface' tabindex="{{tabindex}}"/>
</div>
{{yield}}
{{koenig-toolbar editor=editor assetPath=assetPath containerSelector=containerSelector}}
{{koenig-slash-menu editor=editor assetPath=assetPath containerSelector=containerSelector}}
{{koenig-plus-menu editor=editor assetPath=assetPath containerSelector=containerSelector}}