mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
b9bd4fb505
no refs. - added side padding for alt and caption input fields - fixed text color bug of alt toggle button
11 lines
416 B
Handlebars
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"}}
|
|
/> |