contentful / field-editors

React components and extensions for building Contentful entry editor
https://contentful-field-editors.netlify.app/
MIT License
149 stars 114 forks source link

fix(richtext-editor): handle failed inline entries [ZEND-4919,ZEND-4913] #1641

Closed chrishelgert closed 2 months ago

chrishelgert commented 2 months ago

follow up on https://github.com/contentful/field-editors/pull/1639

Currently, the rich text editor fails as we try to read 'contentType' from 'failed'.sys. Instead patching the entry to 'failed', it uses now the status to check for errors