Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 1, 20177 yr Just realized there is no button in the editor to insert an email link in a topic to open the users email client, there used to be in older versions. How do I get a button to do this? Thanks
November 1, 20177 yr Author "I" understand how to do that but my members do not know how to code it Thanks
November 1, 20177 yr 2 options then: "You" educate your users to do that (it's actually REALLY easy, as you can see, so don't assume they won't know) or make them a custom button via the Editor's 'Add Button' functionality - you only have one option that you can add, so make it the email they input - and then add the button to your toolbar.
November 1, 20177 yr Author I would go with option 2 as all my members are elderly - can you tell what to put in the code box to do that? Every time I enter the mailto: it ends up behind the email address so I am doing something wrong. Thanks again for your help!
November 1, 20177 yr Author Got the mailto to work after adding another button but after the address is added in the editor I can't type anything behind it without it adding to the "Click to email", nothing I add to the end of the code below ends the link - any ideas? Thanks
November 2, 20177 yr The world is your lobster..... <a href="mailto:{option}">Click to email</a> (add a space after the closing tag) or <a href="mailto:{option}">Click to email</a> or <p><a href="mailto:{option}">Click to email</a></p> or <a href="mailto:{option}">Click to email</a><br>
November 2, 20177 yr Author Yes, I had tried all of those previously before posting but they all make the email link on the next line below the sentence text not next to it. Just thought somebody might have come up with a better solution. Guess it must be a bug with CKE which does not surprise me Thanks again for you help
November 2, 20177 yr Ah...misread your comment earlier....the above should work too if you put the space or before the <a> tag as well, as it gives you a target to click and then type without it going inside the link. Your 'better solution' would be for you to develop your own full CKEDITOR plugin.
November 2, 20177 yr Author Strange, now it is working just fine with a space after the code. I know what you mean about developing my own editor, I resisted upgrading a LONG time ago when IPS started using the CKE editor just because of that editor but at some point you have to upgrade. Thanks Nathan!
November 2, 20177 yr CKEditor (version 4) has a "link type" dropdown on the link button: If I remember correctly, there are settings in the ckeditor config.js file that control the "advanced" options on the insert link and insert image menus...
Archived
This topic is now archived and is closed to further replies.