Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi GaëlG, thanks a lot for this usefule module.
I want to use it on a site where we'll have different fields for wysiwyg image uploads, due to the access restrictions being different on different instancies.
Right now ckeditor_insert only supports 1 field to be selected, but it's a trivial change to allow admins to select as many of the existing file / image fields as they want.
I'm attaching a patch in the next comment that should make that possible.
Thanks!
Comment | File | Size | Author |
---|---|---|---|
#4 | 2499623-4-ckeditor_insert-handle-mutliple-fields.patch | 2.39 KB | SebCorbin |
#1 | 2499623-ckeditor_insert_allow_multiple_fields.patch | 2.75 KB | slv_ |
Comments
Comment #1
slv_ CreditAttribution: slv_ commentedPath attached!
Comment #2
slv_ CreditAttribution: slv_ commentedComment #3
GaëlGIt seems good sense to me. Feel free to commit yourself now. :)
Comment #4
SebCorbin CreditAttribution: SebCorbin at Makina Corpus commentedIt's missing a migration to convert existing variable name and value. Fixed the patch so that there are only relative paths
Comment #6
SebCorbin CreditAttribution: SebCorbin at Makina Corpus commentedAdded hook and commited