mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Allowed line-breaks in product card description
refs https://github.com/TryGhost/Team/issues/1245
This commit is contained in:
parent
b03f72c59e
commit
120deae9b1
@ -65,7 +65,7 @@
|
||||
</span>
|
||||
{{else if uploader.isUploading}}
|
||||
{{uploader.progressBar}}
|
||||
{{else if (not this.previewSrc @payload.productImageSrc)}}
|
||||
{{else if (not this.previewSrc @payload.productImageSrc)}}
|
||||
<button class="w-100 h-100 sans-serif fw4 f7 middarkgrey kg-image-button" onclick={{action "triggerFileDialog"}}>
|
||||
<div class="flex flex-column items-center">
|
||||
{{svg-jar this.placeholder class="kg-placeholder-image"}}
|
||||
@ -120,6 +120,7 @@
|
||||
@defaultTag="p"
|
||||
@onChange={{action "setProductDescription"}}
|
||||
@didCreateEditor={{action "registerEditor"}}
|
||||
@allowBr={{true}}
|
||||
/>
|
||||
{{#if @payload.productButtonEnabled}}
|
||||
<a href="javascript:void(0)" class="gh-btn gh-btn-accent kg-product-card-button" disabled={{not @payload.productButton}}>
|
||||
|
Loading…
Reference in New Issue
Block a user