{{#d-editor-modal class="insert-link" hidden=insertLinkHidden okAction="insertLink"}}

{{i18n "wizard_composer.link_dialog_title"}}

{{wizard-text-field value=linkUrl placeholderKey="wizard_composer.link_url_placeholder" class="link-url"}} {{wizard-text-field value=linkText placeholderKey="wizard_composer.link_optional_text" class="link-text"}} {{/d-editor-modal}}
{{#if showPreview}}
{{{preview}}}
{{else}}
{{#each toolbar.groups as |group|}} {{#each group.buttons as |b|}} {{#if b.popupMenu}} {{toolbar-popup-menu-options onPopupMenuAction=onPopupMenuAction onExpand=(action b.action b) title=b.title headerIcon=b.icon class=b.className content=popupMenuOptions}} {{else}}
{{d.icon}}
{{/if}} {{/each}} {{#unless group.lastGroup}}
{{/unless}} {{/each}}
{{conditional-loading-spinner condition=loading}} {{textarea tabindex=tabindex value=value class="d-editor-input" placeholder=placeholder}}
{{/if}}