Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable uploading file into RTE (CKEditor) field with drag&drop in CP and Channel Form #4171

Open
wants to merge 19 commits into
base: 7.dev
Choose a base branch
from

Conversation

intoeetive
Copy link
Contributor

This is follow-up of #4170 but because it's adding new Action and new setting for field, might be more suitable for minor release.

The changes:

  • adds new setting for "default upload location" for each RTE field. Now the file manager will be initially opened for that location (when invoked from RTE) and that directory will be used for direct file upload using button or drag&drop. If directory is not accessible, the first accessible directory will be used.
  • add new button "upload image from computer" into CKEditor. If turned on, the users can upload using that button and also with drag&drop, otherwise this functionality is disabled
  • enables uploading into RTE using CKEditor in Channel Forms

intoeetive and others added 17 commits March 20, 2024 10:38
- insert image by URL
- find and replace
in progress, directory_id is hardcoded
…image-upload

# Conflicts:
#	js-src/ckeditor5-build-classic/src/ckeditor.js
#	themes/ee/asset/javascript/src/fields/rte/ckeditor/ckeditor.js
#	themes/ee/asset/javascript/src/fields/rte/ckeditor/ckeditor.js.map
#	themes/ee/asset/javascript/src/fields/rte/rte.js
…ionEngine/ExpressionEngine into feature/7.x/dnd-rte-image-upload

# Conflicts:
#	themes/ee/asset/javascript/src/fields/rte/ckeditor/ckeditor.js.map
@intoeetive intoeetive added the enhancement New feature or request label Mar 25, 2024
@intoeetive intoeetive added this to the 7.5.0 milestone Mar 25, 2024
@TomJaeger TomJaeger modified the milestones: 7.5.0, 7.5.x Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants