Details
-
Bug
-
Resolution: Fixed
-
High
-
2.5.0
-
None
Description
Steps to reproduce:
1. Add a new custom tag without attributes:
ezpublish: system: default: fieldtypes: ezrichtext: custom_tags: - separator ezrichtext: custom_tags: separator: template: '@ezdesign/field_type/ezrichtext/custom_tag/separator.html.twig' icon: '/bundles/hbsbakerplatform/img/hbs-icons.svg#separator' is_inline: false
2. Try insert this new custom tag to any content and publish the content.
3. Try to edit published content version and you will get the following error in browser console:
Uncaught TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at g.renderAttributes (ez-custom-tag-base.js:182)
...