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

Redactor X handles script tags in html oddly #4099

Open
robinsowell opened this issue Feb 29, 2024 · 2 comments
Open

Redactor X handles script tags in html oddly #4099

robinsowell opened this issue Feb 29, 2024 · 2 comments
Labels
Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on.

Comments

@robinsowell
Copy link
Contributor

So using Redactor X, you put a script tag in your html code, and view the html and it strips out the code from view, but it still saves the code. So it's in the database, but it doesn't display in 'view code'.

I lean toward code should be allowed, but the 'view html' should show everything that is actually saved to the field/going to be saved to the field.

@robinsowell robinsowell added the Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on. label Feb 29, 2024
@rbroadford
Copy link

I recently came across this one as well :)

@ataucher
Copy link

ataucher commented Jun 3, 2024

Yes, this becomes a big problem when editing the same entry it will save without the original script tag in it.
In my context, I'm embedding forms from Wufoo with script tags but after one save they're removed. I'll have to hard code them into templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on.
Projects
None yet
Development

No branches or pull requests

3 participants