fix rich content not rendering stillimage nor links correctly
This commit is contained in:
parent
0671aa0dd0
commit
4993dc37e2
@ -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>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user