mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 19:02:29 +03:00
fe13a46273
refs https://github.com/TryGhost/Ghost/issues/9724 - add a `data-kg-allow-clickthrough` attribute so that it's possible to explicitly allow non-input elements to be clicked immediately when clicking on a card
37 lines
903 B
Handlebars
37 lines
903 B
Handlebars
<div class="koenig-basic-html-input__editor-wrappper" style="cursor: text">
|
|
<div
|
|
class="koenig-basic-html-input__editor"
|
|
data-gramm="false"
|
|
data-kg="editor"
|
|
data-kg-allow-clickthrough
|
|
data-placeholder={{placeholder}}
|
|
></div>
|
|
</div>
|
|
|
|
{{koenig-toolbar
|
|
basicOnly=true
|
|
editor=editor
|
|
editorRange=selectedRange
|
|
activeMarkupTagNames=activeMarkupTagNames
|
|
toggleMarkup=(action "toggleMarkup")
|
|
editLink=(action "editLink")
|
|
}}
|
|
|
|
{{!-- pop-up link hover toolbar --}}
|
|
{{koenig-link-toolbar
|
|
editor=editor
|
|
container=element
|
|
linkRange=linkRange
|
|
selectedRange=selectedRange
|
|
editLink=(action "editLink")
|
|
}}
|
|
|
|
{{!-- pop-up link editing toolbar --}}
|
|
{{#if linkRange}}
|
|
{{koenig-link-input
|
|
editor=editor
|
|
linkRange=linkRange
|
|
selectedRange=selectedRange
|
|
cancel=(action "cancelEditLink")
|
|
}}
|
|
{{/if}} |