Dolibarr ERP & CRM » Tasks and Feature requests » task #768
WYSIWYG for all mailDernières modifications
Répondre
État Détails |
Submitted on: | 16/03/2013 09:21 | | Submitted by: | HENRY Florian (fhenry) |
Last Modified On: | 30/07/2013 15:05 | |
Summary: | WYSIWYG for all mail |
Description: | |
Priority: | 5 - Medium | | Open to Any Developer: | Yes |
Subproject: | Aucun | | Assigned to (multiple): | HENRY Florian (fhenry) |
Etat |
Start Date: | - | | End Date: | - |
Completion (0-100%): | 100 | | Status: | Closed |
Commentaires- Maxime Kohlhaas 30/07/2013 17:35
- I opened a PR with a fix : https://github.com/Dolibarr/dolibarr/pull/1145
I think it's because the message is stored as text (in lang file) and the signature is stored as HTML (in database). The function made the substitutions so the message contained 2 types of data, and function as \n replacement were not properly working. Hope I found the right solution. - HENRY Florian 30/07/2013 15:05
- I've do the test again.
In Email setting if I test a non html, it send HTML in plain texte, I don't know how to avoid that.
But If I try to send HTML it works.I also try to send a proposal and it works fine with HTML signature - Maxime Kohlhaas 30/07/2013 11:52
- Same on develop branch, when there's no signature, the default email text is correctly transformed, but not when a signature is set.
- Maxime Kohlhaas 30/07/2013 11:43
- Hi Florian,
I just tried this on a fresh install on 3.4, I set my signature with wysiwyg and tried to send an email. On the email form, it seems that the standard text is not converted to HTML before appearing in wysiwyg, so line breaks are not present. I think a nl2br should do the trick :)
|
|
I think it's because the message is stored as text (in lang file) and the signature is stored as HTML (in database). The function made the substitutions so the message contained 2 types of data, and function as \n replacement were not properly working. Hope I found the right solution.