Closed (works as designed)
Project:
htmLawed
Version:
4.1.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
8 Feb 2023 at 13:21 UTC
Updated:
25 Apr 2023 at 19:14 UTC
Jump to comment: Most recent
Hello, i can't save if i use "style" with ckeditor 5.
I have one error "didn't find my markup".
Add a "style" into ckeditor like :
span.ckeditor-mise-en-avant|Mise en avant
Comments
Comment #2
asterovim commentedComment #3
alpha2zee commentedThe htmLawed module's default setting is probably the cause of this issue (see documentation). This prevents use of the 'style' attribute.
Comment #4
alpha2zee commentedTry removing 'style' from the 'deny_attribute' parameter of htmLawed setting.
Comment #5
asterovim commentedThanks you but it's didn't work.
https://i.postimg.cc/NF6Mxd9s/image.png
https://i.postimg.cc/7Yj79WW4/image.png
https://i.postimg.cc/KzbDNH4j/image.png
https://i.postimg.cc/zGRw1rg3/image.png
Comment #6
alpha2zee commentedOK. 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?Comment #7
alpha2zee commented