Posted by Jorrit on October 31, 2011 at 7:01am
2 followers
| Project: | ImageField Assist |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
I have several input formats, of which some do not have a WYSIWYG profile and other have TinyMCE. When content is created using a plain text area, the code is like:
[imagefield_assist|fid=115908|title=|desc=|link=node|align=|preset=screen_thumb_small]
When I switch to TinyMCE and back, the code becomes:
[imagefield_assist|fid=115908|preset=screen_thumb_small|lightbox=true|title=|desc=|link=node|align=|width=158|height=118]The most important thing for me is that lightbox is suddenly set to true.
Comments
#1
The attached patch fixes this problem for me.
#2
Made a small mistake.
#3
I was having a similar issue, when I added a link to an imageassist inserted image it was adding a lightbox to them and I ended up with an "a" tag inside another "a" tag.
This patch fixed it for me as well,
Thanks!