Problem/Motivation
The ability to add a target to links so they can open in a new tab.
Proposed resolution
Add a target select box to the Atom properties dialog.
User interface changes
Adds a Link Target select list on the Atom properties dialog.

This generates
<a href="http://google.com" target="_blank"><img typeof="foaf:Image" src="http://site.local/sites/default/files/thumbnails/image/image.png" alt="Image.png" title="Image.png"></a>
Remaining tasks
- Create a working patch.
I cloned the scald repo, but this patch doesn't apply because there is no scald/modules/library/dnd/plugins directory on the 7.x-1.x branch. Should that portion be patched on the DnD module?
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | scald_image_target-2633636-7.patch | 5.22 KB | nagy.balint |
| #5 | scald_image_target-2633636-5.patch | 3.42 KB | tim bozeman |
| Selection_095.png | 14.83 KB | tim bozeman | |
| scald_target.patch | 3.7 KB | tim bozeman |
Comments
Comment #3
tim bozeman commentedComment #4
jcisio commentedYou must have used an old version of Scald when creating the patch. The plugin was moved from DnD to MEE in #2571791: Wysiwyg related plugins and functions should be in the mee module.
Comment #5
tim bozeman commentedYes I tried to get away with patching the released version. I rerolled it.
Comment #6
nagy.balint commentedThanks for the patch!
This should also be added to the scald_image.js, so it appears in the dndck4 plugin.
Comment #7
nagy.balint commentedHere is the new patch based on #6
Works for me on dndck4.
Comment #8
tim bozeman commentedNice!
Comment #9
nagy.balint commentedThanks! Committed!