CKEditor 5 links inside Bootstrap modal closes the modal

Created on 13 September 2024, 7 months ago

Problem/Motivation

After reporting and fixing a previous issue with CKeditor 5 inside Bootstrap modals, here I am with another one. In some cases, using the Link function of CKeditor 5 inside a Bootstrap modal, the modal will suddenly close.

Steps to reproduce

- Create a situation where Bootstrap modals are being used with a CKEditor instance inside (eg. Layout Builder Modal
in combination with the Modal Bridge).
- Add a link to your text with the CKEditor link function.
- Do not use the autocomplete function but click the checkmark straight away.
- The modal will now close.

🐛 Bug report
Status

Active

Version

3.32

Component

Code

Created by

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

Comments & Activities

  • Issue created by @robbevb
  • Status changed to Needs review 7 months ago
  • Attached is a patch that hopefully fixes this issue once and for all

  • 🇮🇳India sdhruvi5142

    Hi

    @robbevb I've tried above steps and I'm not able to replicate the issue. Can you please share some before and after screenshot can help to get issue better. And in above mentioned steps if something is missing please let me know and try that step and replicate the issue

    Thanks

Production build 0.71.5 2024