Ghost/ghost/admin/lib/koenig-editor/addon/components/koenig-caption-input.hbs
Peter Zimon b9bd4fb505 Fixed image caption design bugs in Koenig
no refs.
- added side padding for alt and caption input fields
- fixed text color bug of alt toggle button
2020-08-27 15:21:11 +02:00

11 lines
416 B
Handlebars

<KoenigBasicHtmlInput
@html={{this.caption}}
@placeholder={{if this.isFocused "" this.placeholder}}
@class="miw-100 tc bn form-text bg-transparent pr8 pl8"
@name="caption"
@onChange={{action this.update}}
@onFocus={{action (mut this.isFocused) true}}
@onBlur={{action (mut this.isFocused) false}}
@onNewline={{action "handleEnter"}}
@didCreateEditor={{action "registerEditor"}}
/>