Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Genestoy Posted November 1, 2017 Posted November 1, 2017 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
Nathan Explosion Posted November 1, 2017 Posted November 1, 2017 By using the existing functionality:
Genestoy Posted November 1, 2017 Author Posted November 1, 2017 "I" understand how to do that but my members do not know how to code it Thanks
Nathan Explosion Posted November 1, 2017 Posted November 1, 2017 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.
Genestoy Posted November 1, 2017 Author Posted November 1, 2017 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!
Genestoy Posted November 1, 2017 Author Posted November 1, 2017 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
Nathan Explosion Posted November 2, 2017 Posted November 2, 2017 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>
Genestoy Posted November 2, 2017 Author Posted November 2, 2017 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
Nathan Explosion Posted November 2, 2017 Posted November 2, 2017 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.
Genestoy Posted November 2, 2017 Author Posted November 2, 2017 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!
Joy Rex Posted November 2, 2017 Posted November 2, 2017 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...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.