-
Notifications
You must be signed in to change notification settings - Fork 15
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
When FORWARDING, %quotePlaceholder%
doesn't position forwarded mail text correctly
#156
Comments
I found the cause of the problem - apparently there is no special code of treating the forwarded mail "as a quote". Since there is no Original code from smartTemplate-compose.js: let quotePart = bodyEl.querySelector("blockquote[_moz_dirty]");
if (quotePart) {
.. process quoted portion... Patched code: let quotePart = (st4composeType=='fwd') ?
bodyEl.querySelector(".moz-forward-container") :
bodyEl.querySelector("blockquote[_moz_dirty]");
if (quotePart) { Patched version to try out (Thunderbird 78 and later): To try out this version, download the zip file and then drag said zip file into Thunderbird Add-ons Manager (do not unpack files). |
Backported the bugfix into the legacy version (for Thunderbird 68): smartTemplate-fx-2.17pre97.zip To try out this version, download the zip file and then drag said zip file into Thunderbird Add-ons Manager (do not unpack files). Restart Thunderbird as usual. |
%quotePlaceholder%
doesn't position forwarded mail text correctly
Implemented in version 3.8 - please note that for Thunderbird 68 you have to install new versions from the github releases page. Unfortunately thunderbird.net does not accept updates for legacy versions anymore - they only support the new "Mail extension" format and our "mail extension with experimental APIs" which is a workaround for missing advanced features. |
The following template doesn't work as I understand it should:
<b>This text comes before the quotePlaceholder</b> %quotePlaceholder% %cursor% <b>This text comes after the quotePlaceholder</b>
Result, however, shows quoted text AFTER "This text comes after the quotePlaceholder":
The text was updated successfully, but these errors were encountered: