We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The SCRIPT tag and javascript attributes are stripped from my content when I convert a classic bloc into a gut one.
To Reproduce Steps to reproduce the behavior:
<script>alert(gut/)</script>
<p onmouseover="javascript:alert('/gut/)">enberg</p>
Expected behavior Since SCRIPT tags and JS attrs are allowed as administrator, gut should not strip them without any notice.
Screenshots Classic text mode https://www.dropbox.com/s/ii7b4j26piahj0v/Capture%20d%27%C3%A9cran%202018-08-23%2023.15.31.png?dl=0 Classic visual mode https://www.dropbox.com/s/bkyw91yeyjuaota/Capture%20d%27%C3%A9cran%202018-08-23%2023.15.46.png?dl=0 Gut after conversion https://www.dropbox.com/s/6igyvs0xgt7y2bf/Capture%20d%27%C3%A9cran%202018-08-23%2023.16.31.png?dl=0
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered:
I think this is a duplicate of #6102. See also: #6878 and #7604.
Sorry, something went wrong.
My bad you're right.
No branches or pull requests
Describe the bug
The SCRIPT tag and javascript attributes are stripped from my content when I convert a classic bloc into a gut one.
To Reproduce
Steps to reproduce the behavior:
<script>alert(gut/)</script>
tag +<p onmouseover="javascript:alert('/gut/)">enberg</p>
in the contentExpected behavior
Since SCRIPT tags and JS attrs are allowed as administrator, gut should not strip them without any notice.
Screenshots
Classic text mode
https://www.dropbox.com/s/ii7b4j26piahj0v/Capture%20d%27%C3%A9cran%202018-08-23%2023.15.31.png?dl=0
Classic visual mode
https://www.dropbox.com/s/bkyw91yeyjuaota/Capture%20d%27%C3%A9cran%202018-08-23%2023.15.46.png?dl=0
Gut after conversion
https://www.dropbox.com/s/6igyvs0xgt7y2bf/Capture%20d%27%C3%A9cran%202018-08-23%2023.16.31.png?dl=0
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: