CKeditor 5 advanced link form alter

Created on 27 February 2024, 9 months ago
Updated 6 September 2024, 3 months ago

Problem/Motivation

I'm switching to using CKeditor 5, but I'm not able to alter the advanced link form.
For CKeditor 4 I was able to alter the form using HOOK_form_editor_link_dialog_alter, now it's not using the dialog form anymore so how can I alter the form in the new CKeditor 5?

💬 Support request
Status

Active

Version

2.2

Component

Code

Created by

🇯🇴Jordan n.ghunaim Amman - Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @n.ghunaim
  • 🇦🇺Australia cjc414

    any suggestion here? I am facing this issue as well. Just want some tips.

  • 🇫🇷France federiko_

    Same issue for me ; if anyone has an idea...

  • 🇺🇸United States carsoncho Kansas City, MO

    I think unfortunately due to the way CK5 was rebuilt to not utilize any dialogs there's no way to make alterations without creating your own custom CK5 plugin to do what you need. It's a pain not being able to make quick alterations via a form alter anymore.

  • 🇮🇳India zartab farooquee

    In Drupal 10 with CKEditor 5, the old HOOK_form_editor_link_dialog_alter used for CKEditor 4 no longer applies, as CKEditor 5 uses a modular JavaScript-based system for forms like the link dialog. To customize or alter the link form, you need to create a custom CKEditor plugin.

Production build 0.71.5 2024