You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a migration from another vendor to Contenful and using rich-text-from-markdown. I've bumped into a problem saving an entry that is an image asset with a hyperlink to an external URL.
I've also tried creating an entry in the Contentful rich text component selecting an image asset, and adding a link to it, but although it apparently lets me do that, the hyperlink doesn't get added to the embedded asset when I fetch it via the API.
Are linked image assets not allowed?
Thanks!
The text was updated successfully, but these errors were encountered:
I'm having the same problem (or perhaps question depending on how you look at it). From the error message its obviously got some kind of hierarchy as to what can go in where (in this case, embedded-asset-block can't go in a paragraph) but I can't find any information as to what it does and doesn't allow without brute force trial and error.
If I remove the anchor from the original source it then changes the nodeType from paragraph to embedded-asset-block, but then obviously isn't linking the image like I wanted anyway.
Hi,
I'm working on a migration from another vendor to Contenful and using
rich-text-from-markdown
. I've bumped into a problem saving an entry that is an image asset with a hyperlink to an external URL.That node gets converted to:
But Contentful throws this error:
I've also tried creating an entry in the Contentful rich text component selecting an image asset, and adding a link to it, but although it apparently lets me do that, the hyperlink doesn't get added to the embedded asset when I fetch it via the API.
Are linked image assets not allowed?
Thanks!
The text was updated successfully, but these errors were encountered: