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
[staging] Update TinyMCE #24978
[staging] Update TinyMCE #24978
Conversation
This PR updates tinymce to version 4.5.11 - this is the highest version we can include in Joomla 3 due to browser support Version 4.5.11 (2019-05-16) Fixed bug where the editor would scroll to the top of the editable area if a dialog was closed in inline mode. #TINY-1073 Version 4.5.10 (2018-10-19) Changed the contextual toolbar shortcut to Ctrl+F9 since an Edge shortcut interfered with the previous one. Updated references to website and company name
@zero-24 @SniperSister can you take a look at rips please
|
Co-Authored-By: Quy <quy@fluxbb.org>
I have tested this item ✅ successfully on 3f98219 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24978. |
I have tested this item ✅ successfully on dabc0f6 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24978. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24978. |
thx |
1 similar comment
thx |
thanks |
Could the introduction of this new version of Tiny MCE cause issues in modules that are created by third parties? I am using third party modules in which HTML markup is used, in textarea fields. Until J 3.9.6 this was no problem, but in J 3.9.8 all HTML markup is stripped out. Besides the update to J 3.9.8 no other settings were changed regarding Text Filtering and so on. |
No this would have no impact |
There is an issue with custom subfields and filtering html from textarea and edtor fields. Do you mean this? |
I know it is not core Joomla, but I would not have expected this. |
This problem is fixed in #25189 it will be fixed with the next version. In the meantime you could apply the patch. |
I have downloaded both files from #25189 and replaced them in my local Joomla setup, but it does not solve the issue. The HTML is still stripped. For Custom module (core) is works good, but for the third party modules not. |
I will download staging tomorrow and give it try again. |
@ReLater could you please check if its releated to your PR and if we can fix it? |
It's not related to my pr directly. I just provided a fix for a similiar issue for subform fields in com_fields::repeatable. And the issue here is not related to TinyMCE All extensions that use subform fields MUST add an attribute e.g. Reason is a SECURITY fix in Joomla 3.9.7. Subform child fields weren't validated before that fix and for example JavaScript injections were possible without any cleaning. Before that fix filter attributes in subform child fields were completely effectless!! Example from core for a "good" field declaration:
|
FYI: Added info to docs: https://docs.joomla.org/Subform_form_field_type#Beware.21 Maybe it should be propagated at other locations, too. |
Thanks @ReLater and @HLeithner , I have informed the author of this module already and send him the links to this thread and the docs. |
This PR updates tinymce to version 4.5.11 - this is the highest version we can include in Joomla 3 due to browser support
Version 4.5.11 (2019-05-16)
Fixed bug where the editor would scroll to the top of the editable area if a dialog was closed in inline mode. #TINY-1073
Version 4.5.10 (2018-10-19)
Changed the contextual toolbar shortcut to Ctrl+F9 since an Edge shortcut interfered with the previous one.
Updated references to website and company name