Link to Create email in CKEditor

Submitted by D2D on Sat, 05/02/2020 - 13:42

Life is sometimes simpler than we think it is.  I wanted to create a "Mail to" link in an article for use as a contact link in the footer of a website.  I tried all manner of things, and went looking for a module to help, but it turned out that I just had to feed the beast what it wanted "mailto:" has to be all one string with no spaces.  Now when I click the contact link, a new email to that person opens.


Maybe if I post this note here I won't go nuts 6 months from now when I have to do this again.

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.