-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[8.0] web_ckeditor4 does not work in email templates/mako #151
Comments
And @antespi, you have also this issue, doesn't it? |
@pedrobaeza %end if is not removed, it's on a new line with the next % if next to it. 0k/web_ckeditor#4 seems to be the same issue |
I think that has to be treated on the ckeditor4 JS widget itself, not here, but @hbrunn should say about this |
To fix this, we'll have to dive into ckeditor's internals, I think. http://docs.ckeditor.com/#!/api/CKEDITOR.htmlDataProcessor seems to be a good starting point. Or this looks even better: http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-protectedSource |
@pedrobaeza yes, we have the same issue. |
@hbrunn did you detect the same issue using https://github.com/OCA/crm/tree/8.0/newsletter when creating/editing emails templates Under Sales/Configuration/Newsletter type? (as newsletter installs ckeditor) |
@RoelAdriaans-B-informed @pedrobaeza @antespi @rafaelbn I think @lfreeke mentioned this problem once. Should be fixed by #158 |
#158 did not fix this issue |
As #158 didn't fix this issue, are any of you interested in fixing it? Are you using this module en production enviroments? We are still not using this module as corrupts many standards functionalities. |
@sergio-incaser @carlos-incaser as you are using web_ckeditor4 module I think you are interested in this issue. We are not using web_ckeditor4 by the moment. We need time to fix this issue and test it deeper to use with customers. |
If the PR already merged doesn't resolve it, I don't think so, as most of us have moved on to 9.0 or uninstall the module, but I can't speak for all. |
Thanks for quick reply ;) |
Not now AFAIK, as this one replaces default HTML editor. |
Ok thanks, I will disable this module. |
Update odoo-cloud-platform (BIZ-1093)
Substances to analyze duplicated on tasks BSMTS-275
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
With the web_ckeditor4 enabled, editing an email template breaks the template.
The code before saving is, for example:
and after saving:
The missing enters break the mako formatting engine, you have to edit the template by hand..
This is in 8.0.
(Ninja edit,
%endif
is not removed)The text was updated successfully, but these errors were encountered: