- π«π·France GaΓ«lG Lille, France
I referenced this issue here: https://www.drupal.org/docs/core-modules-and-themes/core-modules/ckedito... β
- πΊπΈUnited States DamienMcKenna NH, USA
Official Drupal documentation for building a plugin:
https://www.drupal.org/docs/drupal-apis/ckeditor-5-api/overview βOfficial Drupal docs for rewriting a plugin:
https://www.drupal.org/docs/core-modules-and-themes/core-modules/ckedito... βOfficial CKEditor documentation for rewriting a plugin:
https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/...Example module:
https://www.drupal.org/project/ckeditor5_dev βBlog posts on the topic:
https://evolvingweb.com/blog/porting-ckeditor-5-plugin-drupal-10
https://tech.axelerant.com/create-and-integrate-ckeditor-5-plugin-with-d...
https://opensenselabs.com/blog/tech/creating-custom-ckeditor-plugin-drup... - Status changed to Needs review
over 1 year ago 5:35pm 11 May 2023 - πΊπΈUnited States DamienMcKenna NH, USA
A bare starting point - files from ckeditor5_dev copied & renamed to match.
One problem is that the ckeditor plugin doesn't want to work with shortcodes, so we might be stuck there.
- Status changed to Needs work
over 1 year ago 10:09am 14 May 2023 - πΊπΈUnited States DamienMcKenna NH, USA
This may not be possible, I don't see any reference to using shortcodes in ckeditor5.
- πΊπΈUnited States DamienMcKenna NH, USA
minnur created a merge request which provides a new approach for this functionality with ckeditor 5 and would be a great addition:
https://git.drupalcode.org/project/video_filter/-/merge_requests/7While I think the better long-term approach would be to migrate to the Media module and just use 3rd party oembed integration, this could be a short-term solution for sites that aren't using the Media system.
Next steps
Split out the ckeditor5 changes from merge request #7 into its own merge request as much of the unrelated changes are being handled as separate issues.
- πΊπΈUnited States DamienMcKenna NH, USA
Also, now that there's test coverage ( π Add useful functional test Fixed ) we can finish this off to make sure it works as expected.
3:49 0:27 Running