-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[sitecore-jss-angular] Fix default empty field components to not render unwanted wrapping HTML tags #1937
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much cleaner than initial iterations - to keep everything in the default components. Some tests are failing and need to be updated - probably bc the tested element is not located properly after the changes
...itecore-jss-angular/src/components/default-empty-text-field-editing-placeholder.component.ts
Outdated
Show resolved
Hide resolved
...itecore-jss-angular/src/components/default-empty-text-field-editing-placeholder.component.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appoved! However make sure to update the unit tests to make build green
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