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.
Support FileField Insert with WYMeditor, to allow easy insertion of inline images and links to files.
Comment | File | Size | Author |
---|---|---|---|
#1 | wysiwyg-507608-HEAD.patch | 1.13 KB | jfhovinne |
Comments
Comment #1
jfhovinne CreditAttribution: jfhovinne commentedThe attached patch adds the needed Drupal.wysiwyg.activeId setting, and the Drupal.wysiwyg.editor.instance.wymeditor.insert function.
Inserting inline images works fine, using FileField Insert, ImageCache presets and Image Resize Filter.
Tested in MSIE 6.0, FF3, Opera 9.62 and Chromium 3 (so should work in Safari).
Comment #2
sunNice!
Uhm - where is this.field coming from? --- ah, I see, we preset all params in Drupal.wysiwygAttach for each instance ;)
Great! So all I need is someone to confirm that this patch works :)
Comment #3
sunThanks for reporting, reviewing, and testing! Committed to all branches.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.