[4.0] Module Custom: remove inline style#32980
Conversation
|
I have tested this item ✅ successfully on 4a14fe1 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32980. |
What exactly do you mean by this? Patch Tester? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32980. |
Sorry that was typo ;) |
The background is really visible. NOK |
|
Is it ok that it does not have the query string? Before PR: After PR: |
|
yes, the query does not do anything, it something that comes from mediamanager, |
|
The image has repeat-x, repeat-y. Is this intended? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32980. |
yeap, this is default behavior of this module, since this feature exists if you do test without CSP you will see that "before and after" looks the same |
|
I have tested this item ✅ successfully on 4a14fe1 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32980. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32980. |
|
Thanks! |
yeap, CSP will not work on |
|
Thanks. 😅 |

Summary of Changes
this changes how background added to the Custom module, to avoid conflict with CSP rules.
Testing Instructions
Apply patch.
Click "Enable" in CSP component.
Create a custom module with background, and some content.
Check the module rendering.
Actual result BEFORE applying this Pull Request
Background not visible,
in browser console CSP related error.
Expected result AFTER applying this Pull Request
Background visible,
in browser console no CSP related error.
Documentation Changes Required
none