Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow querystrings in email links #10996

Closed
vsalvino opened this issue Oct 4, 2023 · 2 comments
Closed

Allow querystrings in email links #10996

vsalvino opened this issue Oct 4, 2023 · 2 comments
Labels
status:Unconfirmed Issue, usually a bug, that has not yet been validated as a confirmed problem. type:Bug

Comments

@vsalvino
Copy link
Contributor

vsalvino commented Oct 4, 2023

Issue Summary

Within the rich text editor, it's impossible to insert email links with querystrings. Query parameters such as "subject" and "body" are universally recognized by mail handlers for mailto links. For example: mailto:info@example.com?subject=Website Inquiry

See details here: https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Creating_hyperlinks#specifying_details

Steps to Reproduce

Open the rich text editor, and insert a link, using the example above. Neither the external link nor email link options allow this syntax, with or without the "mailto:"

image

Technical details

  • Python version: 3.11
  • Django version: 4.1
  • Wagtail version: 4.2
  • Browser version: Tested in latest Chrome, Edge 117
@vsalvino vsalvino added type:Bug status:Unconfirmed Issue, usually a bug, that has not yet been validated as a confirmed problem. labels Oct 4, 2023
@lb-
Copy link
Member

lb- commented Oct 4, 2023

@vsalvino I think this may be fixed in the next release. See #10920 & #5950

@lb- lb- closed this as completed Oct 4, 2023
@vsalvino
Copy link
Contributor Author

vsalvino commented Oct 5, 2023

Excellent, somehow I missed those other issues. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:Unconfirmed Issue, usually a bug, that has not yet been validated as a confirmed problem. type:Bug
Projects
None yet
Development

No branches or pull requests

2 participants