-
Notifications
You must be signed in to change notification settings - Fork 334
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
Option to turn off all JS put into editor #351
Comments
EpicEditor has never stripped this stuff because some people want to use JS in there. For example, they want to make something like JSBin with EpicEditor. Maybe turning off all embedded JS should be an option tho? |
yes, i think maybe an option should be there to
|
Reopening so someone can make this an option. Going to update the title a bit tho |
ok, thanks |
One would effectively need something like https://github.com/microcosm-cc/bluemonday for this but then in Javascript to do it properly. Seems somebody did a cross compile: https://github.com/mdp/bluemonday-js/ If the user or a tool does add text that includes javascript you have lost already: the user can do it anyway, no way to stop it and a tool that already can insert javascript already owns the browser. |
The text was updated successfully, but these errors were encountered: