2018-08-08 17:48:31 +03:00
|
|
|
<div class="koenig-basic-html-input__editor-wrappper" style="cursor: text">
|
2018-08-08 14:53:35 +03:00
|
|
|
<div
|
|
|
|
class="koenig-basic-html-input__editor"
|
|
|
|
data-kg="editor"
|
2018-08-08 17:48:31 +03:00
|
|
|
data-kg-allow-clickthrough
|
2020-01-16 18:14:03 +03:00
|
|
|
data-placeholder={{this.placeholder}}
|
2018-08-08 14:53:35 +03:00
|
|
|
></div>
|
|
|
|
</div>
|
|
|
|
|
2020-01-16 18:14:03 +03:00
|
|
|
<KoenigToolbar
|
|
|
|
@basicOnly={{true}}
|
|
|
|
@editor={{this.editor}}
|
|
|
|
@editorRange={{this.selectedRange}}
|
|
|
|
@activeMarkupTagNames={{this.activeMarkupTagNames}}
|
|
|
|
@toggleMarkup={{action "toggleMarkup"}}
|
|
|
|
@editLink={{action "editLink"}}
|
|
|
|
/>
|
2018-08-08 14:53:35 +03:00
|
|
|
|
|
|
|
{{!-- pop-up link hover toolbar --}}
|
2020-01-16 18:14:03 +03:00
|
|
|
<KoenigLinkToolbar
|
|
|
|
@editor={{this.editor}}
|
|
|
|
@container={{this.element}}
|
|
|
|
@linkRange={{this.linkRange}}
|
|
|
|
@selectedRange={{this.selectedRange}}
|
|
|
|
@editLink={{action "editLink"}}
|
|
|
|
/>
|
2018-08-08 14:53:35 +03:00
|
|
|
|
|
|
|
{{!-- pop-up link editing toolbar --}}
|
2020-01-16 18:14:03 +03:00
|
|
|
{{#if this.linkRange}}
|
|
|
|
<KoenigLinkInput
|
|
|
|
@editor={{this.editor}}
|
|
|
|
@linkRange={{this.linkRange}}
|
|
|
|
@selectedRange={{this.selectedRange}}
|
|
|
|
@cancel={{action "cancelEditLink"}}
|
|
|
|
/>
|
2018-08-08 14:53:35 +03:00
|
|
|
{{/if}}
|