- Issue created by @safetypin
- 🇭🇺Hungary kepesv
I think this issue is critical because, actually HTML Purifier cannot be used whih Ckeditor 5.
Probably related: https://www.drupal.org/project/drupal/issues/3326778 🐛 TypeError: Drupal\ckeditor5\HTMLRestrictions::__construct(): Argument #1 ($elements) must be of type array, Drupal\ckeditor5\HTMLRestrictions given Needs work - 🇮🇳India ravi kant Jaipur
I cannot use this module in Drupal 10 due to the above error. Also cannot downgrade ckEditor so needs a solution.
- Status changed to Needs review
7 months ago 10:48am 30 April 2024 Hi @ezyang @heddn @juanolalla I resolved the above issue and created MR. Please review it.
praveen rani → changed the visibility of the branch 3375949-unable-to-use to hidden.
praveen rani → changed the visibility of the branch 3375949- to hidden.
- Status changed to Needs work
7 months ago 1:37pm 30 April 2024 - Status changed to Needs review
5 months ago 5:54pm 12 June 2024 - 🇺🇸United States adamfranco
I tried the attached patch, but was still getting the error "'htmlpurifier_configuration' is not a supported key." when trying to save my text format in Drupal 10.3.2. This seems to be due to a missing schema file in the module. The attached patch includes the changes from #14 and adds a
config/schema/htmlpurifier.schema.yml
file that identifieshtmlpurifier_configuration
as a valid key for the filter settings.With this change, the HTMLPurifier filter can be enabled with CKEditor 5 as the editor and the configuration form successfully saved.