I would be great if ckeditor configuration for upload directories could use tokens, like "%u" so the inline images got uploaded to separate user folders instead of being dumped in to single folder.

Comments

rnexussix created an issue. See original summary.

wim leers’s picture

Version: 8.0.2 » 8.1.x-dev
Component: ckeditor.module » editor.module
Status: Active » Closed (works as designed)
Issue tags: -CKEditor in core, -upload directory, -tokens

This is intentionally meant to be very simple in Drupal core, to serve the 80% use case. This kind of flexibility is surely welcome for some sites, but belongs in Drupal contrib. At least initially. If we see a significant number of Drupal 8 sites use this, then we could move this into Drupal core.

The EditorImageDialog code is sufficiently flexible to allow this to be overridden using form altering.