Posted by Shaun Dychko on October 7, 2011 at 5:43pm
1 follower
| Project: | Image Caption |
| Version: | 6.x-2.5 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
CKEditor sets the width of images using inline styles instead of with the width attribute of the img tag. The regex in contrib/image_caption_filter needed changing to capture this. Patch is below. This patch will break compatibility with editors that instead set the img tag width attribute.
Comments
#1
use the next re-rolled patch instead (not this one).
#2
oh my, sorry, keep going to the next patch... the regex also needs to account for the fact that sometimes spaces follow width: , and sometimes not.
#3
here's the patch