Skip to content
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

Adding style attribute #146

Open
falsanu opened this issue Oct 29, 2014 · 2 comments
Open

Adding style attribute #146

falsanu opened this issue Oct 29, 2014 · 2 comments

Comments

@falsanu
Copy link

falsanu commented Oct 29, 2014

Hi,

is there a reason why you do not allow to add a style attribute?

Best J.

@ljharb
Copy link
Collaborator

ljharb commented Oct 29, 2014

Inline styles are considered a bad practice, and can even be a security hole, so I'm not sure I see the benefit in allowing it. What style values are you hoping to add, and to which elements?

@falsanu
Copy link
Author

falsanu commented Nov 3, 2014

I agree with you, but I have the requirement to add inline styles to a textarea in order to render a wysiwyg-editor correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants