I looked around at the Moxie site, but I don't see how to do this, particularly from within Drupal, so I thought it might make more sense to ask here.
My users often want to include email addresses on pages, which is fine. Drupal usually turns them into mailto: links, also fine (though I wish either Invisimail or SpamSpan were working correctly with Drupal 5.2).
But often my users want to make a link with some text, e.g. the name, and have that act as a mailto link to the full email address. Sometimes they also want to specify the subject line. How can they do that in TinyMCE? They keep trying to use the Link button, which doesn't work for this purpose. If they edit text in a word processor or other editor that supports such links, they can copy and paste them in, but the only way I know of to have them create these links directly in Drupal is to turn off TinyMCE, which besides being intimidating for most of them, also adds PRE tags around the text that have to be manually removed.
It really looks to me like TinyMCE ought to support this using some kind of snippet or template, but I can't figure out how to get it working. Has anyone here already solved this who could give us a pointer? Thanks!
Comments
Comment #1
emdalton commentedI found part of my answer here: http://tinymce.moxiecode.com/punbb/viewtopic.php?id=4899
1 - Type the text for the link
2 - Select the text
3 - Click the "Link" button
4 - Enter the email address PRECEDED BY "mailto:" e.g. mailto:adventure@colossalcaves.org
This can also include a subject line: mailto:adventure@colossalcaves.org?subject=xyzzy
However, I know from prior experience that the latter does not work well with SpamSpan.
Comment #2
mupsi