mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
dad908911b
no issue - adds an "Alt" button that is displayed in the caption input whilst an image card is selected, clicking it toggles between the rich-text caption input and a plain-text alt text input
9 lines
228 B
Handlebars
9 lines
228 B
Handlebars
<input
|
|
type="text"
|
|
placeholder={{this.placeholder}}
|
|
class="miw-100 tc bn form-text bg-transparent tracked-2"
|
|
name="alt"
|
|
value={{this.alt}}
|
|
{{on "input" this.onInput}}
|
|
{{on "keydown" this.onKeydown}}
|
|
> |