Comments (5)
Just released v1.12.0. Now you are able to use data-mail-subject
and data-mail-body
to customize the mail. Defaults are current page's title (subject) and current page's url (body).
from shariff.
data-mail-subject
doesn't seem to work. Module uses always data-title
.
from shariff.
@Williwurstig Note that according to the readme docs, data-mail-subject
and data-mail-body
are only used if the data-mail-url
is a mailto:
link, i.e. starts with mailto:
. Is that the case in your situation?
from shariff.
Yes, the mailto: is there, but empty:
<div class="myshariff" data-mail-body="Link: {url}" data-mail-subject="This is the subject" data-mail-url="mailto:">
output:
<a href="mailto:?subject=Pagetitle&body=Link%3A%0Ahttp%3A%2F%2Ftestdomain.de" title="Per E-Mail versenden" role="button" aria-label="Per E-Mail versenden"><span class="fa fa-envelope"></span><span class="share_text">mail</span></a>
Can anybody confirm this?
from shariff.
@Williwurstig I can confirm that.
I've tested and checked the source code, too. It seems that either the readme docs are not up to date, or the functionality is not implemented by mistake, because the option "data-mail-subject" is not used at all in the code.
Can you open a new issue for this here? I think developers don't get notified about comments on closed issues.
from shariff.
Related Issues (20)
- viber.com inclusion request HOT 1
- Fix LinkedIn Sharer-URL to 2020 Version HOT 1
- WhatsApp: Support for WhatsApp Web via wa.me (api.whatsapp.com) HOT 2
- Why is there no service for WeChat? HOT 2
- Add {title} replacement to mailBody
- last release 18month ago: plz show life -and integrate some pull requests HOT 8
- Its not a good idea to overwrite the native javascript scrollTo() function
- Mastadon button HOT 1
- Error in WP 5.5: “register_rest_route was called incorrectly” HOT 1
- Problem with Infinite Ajax Scroll
- Error in the documentation for data-services HOT 1
- Flattr responds with 404
- Repo still active? HOT 2
- Enable Hashtags for content
- Image inclusion in FB posts HOT 1
- RFC: Button for "clipboard" service misleading icon and title?
- Change Twitter Icon HOT 3
- Bluesky
- Add MeWe, Mix, send by SMS, wallabag
- Twitter still Twitter and a bird symbol - fix in comments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shariff.