forked from AkkomaGang/akkoma-fe
fix rich content not rendering stillimage nor links correctly
This commit is contained in:
parent
0671aa0dd0
commit
4993dc37e2
1 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ export default {
|
||||||
|
|
||||||
const renderImage = (tag) => {
|
const renderImage = (tag) => {
|
||||||
return <StillImage
|
return <StillImage
|
||||||
{...{ attrs: getAttrs(tag) }}
|
{...getAttrs(tag)}
|
||||||
class="img"
|
class="img"
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
@ -222,7 +222,7 @@ export default {
|
||||||
attrs.target = '_blank'
|
attrs.target = '_blank'
|
||||||
const newChildren = [...children].reverse().map(processItemReverse).reverse()
|
const newChildren = [...children].reverse().map(processItemReverse).reverse()
|
||||||
|
|
||||||
return <a {...{ attrs }}>
|
return <a {...attrs}>
|
||||||
{ newChildren }
|
{ newChildren }
|
||||||
</a>
|
</a>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue