mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
0ffe4dd144
closes https://github.com/TryGhost/Product/issues/4015 Swapped `<KoenigBasicHtmlInput>` for `<KoenigLexicalEditorInput>` - added support for passing `class` through to the container `<div>` - updated caption handler to clean HTML and strip/add surrounding `<p>` as necessary - added passthrough for `onFocus` prop - updated styles to force font style inheritance within Koeing's `.kg-prose` class
10 lines
232 B
Handlebars
10 lines
232 B
Handlebars
<div
|
|
{{react-render this.ReactComponent props=(hash
|
|
placeholderText=@placeholderText
|
|
html=@html
|
|
onChangeHtml=@onChangeHtml
|
|
onBlur=@onBlur
|
|
onFocus=@onFocus
|
|
)}}
|
|
...attributes
|
|
></div> |