Skip to content

Conversation

@i-just
Copy link
Contributor

@i-just i-just commented Nov 26, 2025

Description

A few tweaks that are helpful for the CKEditor feature I’m working on (drag & drop images).

  1. The AssetsController->actionUpload() now returns the uploaded asset’s URL (or null if there is no URL).
  2. I moved a big chunk of the fields\Assets->_findFolder() method into a new helpers\Assets::resolveSubpath() method, so that it can be reused without duplicating the code.

CKEditor PR: craftcms/ckeditor#486

Related issues

n/a

@brandonkelly brandonkelly merged commit a4ea05a into 5.9 Nov 30, 2025
4 checks passed
@brandonkelly brandonkelly deleted the feature/asset-tweaks branch November 30, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants