Use Symfony MapUploadedFile attribute in CKEditor5ImageController::upload()

Created on 6 June 2024, 3 months ago

Problem/Motivation

In Symfony 7.1 a new attribute was added that lets you pass the UploadedFile as a controller param. See https://symfony.com/blog/new-in-symfony-7-1-mapuploadedfile-attribute

We can use this instead of the following code:

$upload = $request->files->get('upload');

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

ckeditor.module

Created by

πŸ‡¦πŸ‡ΊAustralia kim.pepper πŸ„β€β™‚οΈπŸ‡¦πŸ‡ΊSydney, Australia

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

Comments & Activities

Production build 0.71.5 2024