Sitecore / jss

Software development kit for JavaScript developers building web applications with Sitecore Experience Platform
https://jss.sitecore.com
Apache License 2.0
263 stars 275 forks source link

[sitecore-jss-angular] Fix default empty field components to not render unwanted wrapping HTML tags #1937

Closed addy-pathania closed 1 month ago

addy-pathania commented 1 month ago

Description / Motivation

The empty field scenarios for Link and Image breaks Pages editor because angular components returns extra wrapper tags. Pages Editor does not accept these wrapper tags therefore this fix removes those unwanted wrappers.

Testing Details

Types of changes