CKEditor 5 doesnt support directory tokens for inline images

Created on 31 March 2023, over 1 year ago

Problem/Motivation

Ckeditor5 doesn't support directory tokens for inline images.

Steps to reproduce

1. Go to /admin/config/content/formats/manage/basic_html?destination=/admin/config/content/formats
2. Under CKEditor 5 plugin settings > image > Upload directory
3. Change directory path by adding tokens like [date:custom:Y]/[date:custom:m] or date(Y)/date(m)and save the form.
4. Go to node article content and upload an inline image.
5. Observe that the images is stored in "inline-images/[date:custom:Y]/[date:custom:m]" instead of "inline-images/2023/03" directory.

Proposed resolution

Directory structure should support tokens as supported in other places in core like media directory admin/structure/media/manage/image/fields/media.image.field_media_image

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Feature request
Status

Closed: duplicate

Version

9.5

Component
CKEditor 5 

Last updated about 4 hours ago

Created by

🇮🇳India Bhanu951

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

Comments & Activities

Production build 0.69.0 2024