Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(edit-content-type) check it out in WYSIWYG field has broken styles …
…#27341 (#30250) ### Proposed Changes * Updated the `dot-convert-to-block-info.component.html` template to use the `label` property of PrimeNG `pButton` instead of manually setting the button label inside the button element. * Imported the `ButtonModule` from PrimeNG in the `dot-convert-to-block-info.component.spec.ts` to properly support the `pButton` directive and its `label` property in tests. ### Checklist - [x] Tests - [x] Translations - [x] Security Implications Contemplated. ### Additional Info This update ensures that the `pButton` directive from PrimeNG correctly handles the button label by using the `label` property, allowing for more maintainable and PrimeNG-compliant code. Previously, the button label was manually rendered inside the button, which lead to styling issues. ### Screenshots Original | Updated :-------------------------:|:-------------------------: <img width="1383" alt="image" src="https://github.com/user-attachments/assets/6e9de521-6826-4a12-845d-08cc22a34764"> | <img width="1124" alt="image" src="https://github.com/user-attachments/assets/134bab72-ba5c-49e9-a60f-d4a9b2f3f5f3">
- Loading branch information