Description:
If you delete a global class from an element in Cwicly editor, it leaves a blank/empty “class” attribute on frontend.
Step-by-step reproduction instructions:
- Apply a custom class in Cwicly editor to an element, for example a heading.
- Then, remove that class from that element.
- Check on frontend, the result will be something like
<h1 class>Some heading</h1>
Screenshots, screen recording, code snippet
Environment info
- WordPress version: 6.2.2
- Gutenberg Plugin version: -
- Cwicly Plugin version: 1.2.9.6.1
- Cwicly Theme version: 1.0.3