kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Merge branch 'quotes-text-formatting' into 'develop'
Fix: markdown dropped from quote replies Closes #1038 See merge request soapbox-pub/soapbox-fe!1641environments/review-develop-3zknud/deployments/564
commit
7ef9686e92
|
@ -143,7 +143,7 @@ const QuotedStatus: React.FC<IQuotedStatus> = ({ status, onCancel, compose }) =>
|
||||||
{renderReplyMentions()}
|
{renderReplyMentions()}
|
||||||
|
|
||||||
<Text
|
<Text
|
||||||
className='break-words'
|
className='break-words status__content status__content--quote'
|
||||||
size='sm'
|
size='sm'
|
||||||
dangerouslySetInnerHTML={{ __html: status.contentHtml }}
|
dangerouslySetInnerHTML={{ __html: status.contentHtml }}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -78,6 +78,17 @@
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&--quote {
|
||||||
|
ul,
|
||||||
|
ol {
|
||||||
|
@apply pl-4;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
@apply pl-2;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.status__content > ul,
|
.status__content > ul,
|
||||||
|
|
Ładowanie…
Reference in New Issue