Problably is not a big issue but editor users dont know much html, so when an email link is inserted they dont know about mailto:. The original TinyMce package recognizes an email and displays a window offering to insert mailto: but this option is not present in Umbraco. Does somebody know something about this issue?. Thanks for any response.
Hmm, doesn't work for me on 4.7. I highlight text, click Insert Link, type an e-mail address in the Url field, and the link ends up being: <a href="http://mce_host/[email protected]">...</a>
I am starting to look if \umbraco\plugins\tinymce3\insertLink.aspx is using the \umbraco_client\tinymce3\utils\validate.js from TinyMce. Which for what I researched is the script that TinyMce uses to recognize emails.
TinyMce not recognizing email links
Problably is not a big issue but editor users dont know much html, so when an email link is inserted they dont know about mailto:. The original TinyMce package recognizes an email and displays a window offering to insert mailto: but this option is not present in Umbraco. Does somebody know something about this issue?. Thanks for any response.
Hi,
Which version of umbraco you're using? I'm using 4.7.0 and it's working fine for me.
Well I have few sites in 4.6 and 4.7 and in none of them is working... mmmm I wonder if it is me!
Hmm, doesn't work for me on 4.7. I highlight text, click Insert Link, type an e-mail address in the Url field, and the link ends up being: <a href="http://mce_host/[email protected]">...</a>
The only thing I get when I insert an email is http://mce_host/[email protected] I even tried different browsers.
I am starting to look if \umbraco\plugins\tinymce3\insertLink.aspx is using the \umbraco_client\tinymce3\utils\validate.js from TinyMce. Which for what I researched is the script that TinyMce uses to recognize emails.
Cool (not that great though) it is not me!
I made it work! Weird the code in the script was commented out, but so far I have checked it doesn't brake anything (yet). So this is what I did:
Insert the validate.js call in the \umbraco\plugins\tinymce3\insertLink.aspx
Now remove the comment in \umbraco_client\tinymce3\plugins\advlink\js\advlink.js line 131 so now it looks like this
You might have to reload and delete the cache to see the changes.
I hope this help somebody else.
You could just add "mailto:" in the URL box when entering an email address.
You could just add "mailto:" in the URL box when entering an email address.
Oops - don't know how I managed to reply twice!?
True. But as mentioned at the beggining, I am not expecting every editor to know that.
Byron, it does indeed help someone :-) Thanks for sharing your solution!
This issue is still persistent in 4.7.1, too bad, but thanks for the workaround will try it asap!
EDIT: Just tried the workaround, working perfectly, thx!! #h5yr
Add the below script inside the "script" tag in the \umbraco\plugins\tinymce3\insertLink.aspx page
and modify the input field like the below
FYI - I added Brian's solution to v4.9.0 a while back, see this issue. Should be working in later Umbraco versions OOTB.
is working on a reply...