- 🇫🇷France GaëlG Lille, France
For real CKE5 compatibility, see ✨ Add a CKEditor5 plugin for Drupal 9.3+, Drupal 10 Needs work .
1. Set CKEditor 5 editor to your text format
2. Enable Video Filter filter
3. Submit "Save"
4. Get warning "CKEditor 5 only works with HTML-based text formats. The "Video Filter" (video_filter) filter implies this text format is not HTML anymore."
Change in \Drupal\video_filter\Plugin\Filter\VideoFilter plugin type in definition
/**
* Render Video Filter.
*
* @Filter(
* id = "video_filter",
* title = @Translation("Video Filter"),
* description = @Translation("Substitutes [video:URL] with embedded HTML."),
* type = Drupal\filter\Plugin\FilterInterface::TYPE_TRANSFORM_REVERSIBLE,
* settings = {
* "width" = 400,
* "height" = 400,
* "plugins" = {
* "youtube" = 1,
* "vimeo" = 1
* },
* "allow_multiple_sources" = TRUE
* }
* )
*/
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
For real CKE5 compatibility, see ✨ Add a CKEditor5 plugin for Drupal 9.3+, Drupal 10 Needs work .