By smustgrave on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.5.x
Introduced in version:
9.5.0
Issue links:
Description:
The Xss::filter() in Drupal\Component\Utility\XSS is currently stripping out classes that contain ':' as it seems to think it's a URL. Some libraries, such as USWDS and Tailwind CSS framework, utilize colons through out. So this is leading to broken content and potential data loss within CKEditor.
This change will mark colons as allowed characters in class names, allowing such frameworks to be used inside CKEditor.
Impacts:
Site builders, administrators, editors