fix rich content not rendering stillimage nor links correctly

This commit is contained in:
Henry Jameson 2022-03-17 08:47:19 +02:00
parent 0671aa0dd0
commit 4993dc37e2
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ export default {
const renderImage = (tag) => {
return <StillImage
{...{ attrs: getAttrs(tag) }}
{...getAttrs(tag)}
class="img"
/>
}
@ -222,7 +222,7 @@ export default {
attrs.target = '_blank'
const newChildren = [...children].reverse().map(processItemReverse).reverse()
return <a {...{ attrs }}>
return <a {...attrs}>
{ newChildren }
</a>
}