Ghost/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-plus-menu.hbs
Kevin Ansfield 3ef3ebfd6b Koenig - Move list creation from card menus to toolbar
refs https://github.com/TryGhost/Ghost/issues/9505
- remove unordered and bullet list icons from the (+) and / menus
- add unordered and bullet list icons to the formatting toolbar
- reorder toolbar icons to match latest design specs
- remove now-unused `replaceWithListItem` actions
2018-03-15 14:35:39 +00:00

32 lines
1.5 KiB
Handlebars

{{#if showButton}}
<button class="koenig-plus-menu-button" {{action "openMenu"}}>{{inline-svg "plus"}}</button>
{{/if}}
{{#if showMenu}}
<div class="koenig-cardmenu">
{{!-- <div class="koenig-cardmenu-search">
{{inline-svg "koenig/search"}}
<input type="text" placeholder="Search for a card..." class="gh-input koenig-cardmenu-search-input">
</div>
<div class="koenig-cardmenu-divider">
Primary
</div> --}}
<div class="koenig-cardmenu-card" {{action "replaceWithCardSection" "markdown" on="click"}}>
<div class="koenig-cardmenu-icon">{{inline-svg "koenig/markdown"}}</div>
<div class="koenig-cardmenu-label">Markdown</div>
</div>
<div class="koenig-cardmenu-card" {{action "replaceWithCardSection" "image" on="click"}}>
<div class="koenig-cardmenu-icon">{{inline-svg "koenig/image"}}</div>
<div class="koenig-cardmenu-label">Image</div>
</div>
<div class="koenig-cardmenu-card" {{action "replaceWithCardSection" "html" on="click"}}>
<div class="koenig-cardmenu-icon">{{inline-svg "koenig/embed"}}</div>
<div class="koenig-cardmenu-label">Embed</div>
</div>
<div class="koenig-cardmenu-card" {{action "replaceWithCardSection" "hr" on="click"}}>
<div class="koenig-cardmenu-icon">{{inline-svg "koenig/divider"}}</div>
<div class="koenig-cardmenu-label">Divider</div>
</div>
</div>
{{/if}}