Open marcwalsh opened 1 year ago
@marcwalsh Selecting this for grooming session today to look at paths forward.
@marcwalsh can you provide us a page where this is happening and steps to reproduce this issue? Specifically, what field are you filling out that you're seeing failed validation?
We weren't able to publish but it's on any MozFest Primary Page when adding a link using the text editor:
However adding the following to a link button works as expected:
mailto:marc@example.com?subject=This%20is%20the%20subject&body=This%20is%20the%20body%20of%20the%20email
where it opens the default email editor with the address, subject and body already filled in.
➤ Simon Acosta Torres commented:
Tyler Denton This was initially reported by Marc on March 2023, but hasn’t pop up again. Would suggest as a candidate for removal till we have a similar issue reported.
Hey - I just tested and I'm not able to include parameters in email links (I tried both mailto: and just the email with the parameters).
Hi @marcwalsh , while I'm sorry to hear that this is still an issue, I also thank you for such a quick response to verify. He will up the priority of this bug to make sure we get this resolved soon.
➤ Mavis Ou commented:
After some digging I found out that in Wagtail v5.2 they added support for email chooser form to include subject and body to mailto links (PR here ( https://github.com/wagtail/wagtail/pull/10920 ) & changelog here ( https://docs.wagtail.org/en/stable/releases/5.2.html#other-features )). I also found some doc on how to implement the email chooser form here ( https://docs.wagtail.org/en/v5.2.2/reference/contrib/forms/index.html#form-builder ) . However, we haven't implemented any Wagtail forms on our site, so I'd like to check with the team if it's something we want to adopt. I can bring this up in our next group meeting / Slack next week.
/cc Simon Acosta Torres
When using either External Links or the Email links in Wagtail editor, I’m unable to add subject and body parameters to auto fill an email:
An example link looks likes this:
mailto:marc@example.com?subject=This%20is%20the%20subject&body=This%20is%20the%20body%20of%20the%20email
When trying to enter this as an external link, or adding the parameters on the email address, both fail validation.
┆Issue is synchronized with this Jira Task