- Issue created by @mparker17
- First commit to issue fork.
- 🇹🇼Taiwan g-brodiei
Even though this issue is postponed, I ran into this request earlier today and needed a patch to allow ckeditor5 to work with uploading webp files.
I'm leaving this MR for the future when other dependent issues are resolved, or others who may need a quick fix to make use of this as a patch.
Tested with 10.1.x
Hope this helps, Thanks! - 🇬🇧United Kingdom dave_______1
The above seems to work for webp and Drupal 10.1 without the patch linked but after an update to 10.2 it obviously reverted so had to be re-added.
Would be great to have webp, svg and avif in core fields and CKEditor. I've just tried to apply the patch #9 in D11 but it didn't work:
- Applying patches for drupal/core https://www.drupal.org/files/issues/2024-08-14/3386605-9-add-ckeditor5-support-for-webp.patch (Add CKEditor 5 support for WebP images 3386605) Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2024-08-14/3386605-9-add-ckeditor5-support-for-webp.patch