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.
On the "Image size" field:
Comment | File | Size | Author |
---|---|---|---|
#10 | 2307125-editorimagedialog-remove-safemarkup.patch | 1.11 KB | longwave |
#2 | Screen Shot 2014-07-21 at 12.18.36 PM.png | 10.12 KB | webchick |
Screen Shot 2014-07-21 at 12.06.01 PM.png | 13.66 KB | webchick |
Comments
Comment #1
webchickWell, this is probably not right, but seems to fix the problem and follows the pattern used in the upstream patch in e.g. install_finished().
Comment #2
webchick"After" screenshot.
Comment #3
Wim LeersPerfect — thanks :)
Comment #4
alexpottCommitted 16a429e and pushed to 8.x. Thanks!
Comment #7
chx CreditAttribution: chx commentedThis needs to be redone and SafeMarkup::set removed.
Comment #8
longwaveWhy? What is unsafe about the fixed strings used here?
Comment #9
chx CreditAttribution: chx commentedPlease see the parent issue for a more proper fix. (btw all this prefix/suffix business is really ugly and hardly belongs to any modules.)
Comment #10
longwaveThe required number of classes seems a bit unwieldy but they are all required for different reasons.
Comment #11
Wim LeersBeautiful. I didn't know
form-composite
existed. Thank you!(Manually tested, works great.)
Comment #12
chx CreditAttribution: chx commentedThat's much better, thanks.
Comment #13
alexpottCommitted 65d7cc5 and pushed to 8.0.x. Thanks!
Comment #16
jibran