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: remove paragraph tracking [TOL-1865] #1629

Closed YvesRijckaert closed 3 months ago

YvesRijckaert commented 3 months ago

We fired tracking events (removeParagraph and insertParagraph) when the user uses the Toolbar Heading Menu to select or deselect the paragraph element. However, in user_interface we filtered out these events in the ALLOWED_EVENTS, since we do not care about tracking this. This caused errors to show in Sentry. Removing the tracking at the source will fix the issue :)