rich-text
rich-text copied to clipboard
Images are being parsed as links
When I'm using html-to-slate-ast:
<img src="https://media.graphassets.com/CgZ9oAgJRUyjnA2rj2x4" alt="Trailing twelve months statement" />
is being transformed as
{
type: 'link',
href: 'https://media.graphassets.com/CgZ9oAgJRUyjnA2rj2x4',
title: 'Trailing twelve months statement',
openInNewTab: true,
children: [Array]
},