Auto submit CKEditor 5 image/link selector dialogs

Created on 18 January 2023, almost 2 years ago
Updated 25 January 2023, almost 2 years ago

Problem/Motivation

- CKEditor 5 + IMCE using "Insert image" button does not work out of the box

Steps to reproduce

- Install IMCE on CKE5 site, only use Insert image -button (don't drag IMCE File Browser button to CKE5)
- Use the "Open File Browser" button next to text field with label "Insert image via URL" to open up IMCE
- Click on an image and click Select
- The image does not get inserted to the WYSIWYG content

Proposed resolution

- Attached MR fixes the issue
- The problem is that after el.dispatchEvent(new CustomEvent('input')); in custom sendto handler fires in js/plugins/ckeditor5/imce.ckeditor5.js, the image does not get actually inserted to the CKE5 content

Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

🇫🇮Finland j-vee Turku, Finland

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024