If the display setting of an image asset includes a link (to content or file), editing shows two annoying behaviors :
- The link is still active : a single left click open a new page inside ckeditor's iframe...
of course, you can't go back, and your previous edits are lost !
As the default cursor implies, left click should just select the asset - or cursor should become a pointer.
- If settings includes an align, the css layout is broken :
line 216 of asset/ckeditor/plugin.js should change from
$image.css('float', align).siblings('div.field').css('clear', 'both');
to
$image.css('float', align).parent().siblings('div.field').css('clear', 'both');
Thanks
Comment | File | Size | Author |
---|---|---|---|
#3 | asset-7.x-1.x-dev-fix-links-active-in-wisiwyg-1953200-3.patch | 868 bytes | gifad |
#1 | asset-7.x-1.x-dev-fix-asset-align-in-wisiwyg-1953200-1.patch | 889 bytes | agalitsyn |
Comments
Comment #1
agalitsyn CreditAttribution: agalitsyn commentedThank you, made patch for this
Comment #2
agalitsyn CreditAttribution: agalitsyn commentedComment #3
gifad CreditAttribution: gifad commentedAttached a patch to fix “links active in CKEditor” ;-)
Comment #4
IRuslan CreditAttribution: IRuslan commentedThank you guys, both patches committed to dev.