AllowStyles inside body #4543
flowize-project
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to ask if we can add a new property to the editor 'AllowStyles' that indicate to the editor not to remove style tag inside the body content and also not to include it on the css rules.
For example if my body contains:
<style>.example{background-color: red}</style>Now the editor remove this style tag and if I'm doing the editor.getCss() I have the problem that is returning the css for all components and when I'm rendering the page these css overwrite others when I include it inside the tag .
I don't know if it already exists something similar.
Beta Was this translation helpful? Give feedback.
All reactions