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
[ ] Unit Test Added
[x] Manual Test/Other (Please elaborate)
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
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