- Issue created by @Asterovim
- Assigned to alpha2zee
- 🇦🇫Afghanistan alpha2zee
The htmLawed module's default setting is to use htmLawed in 'safe' mode (see documentation → ). This prevents use of the 'style' attribute. Perhaps this is the cause of the issue.
- 🇦🇫Afghanistan alpha2zee
Try removing 'style' from the 'deny_attribute' parameter of htmLawed setting.
- 🇫🇷France Asterovim Paris
Try removing 'style' from the 'deny_attribute' parameter of htmLawed setting.
Thanks you but it's didn't work.
https://i.postimg.cc/NF6Mxd9s/image.png
https://i.postimg.cc/7Yj79WW4/image.png
- 🇦🇫Afghanistan alpha2zee
OK. So, after removing 'style' from 'deny_attribute', you are still not able to use CKEditor's style. But, without using CKEditor, can you input HTML text with 'style'? E.g., some text like
<span style='color: black'>test</span>
. Can you check? What I am saying is: Is the issue in CKEditor and not htmLawed? - Status changed to Closed: works as designed
over 1 year ago 7:14pm 25 April 2023