开发者

How to avoid JavaScript/CSS injections with tinymce on Django?

开发者 https://www.devze.com 2023-03-24 05:01 出处:网络
If I want allow user to add some formating, but I need prevent css and javascript injections. A开发者_Go百科ny solution how to do it? TinyMCE has the ability to restrict the types of tags that users c

If I want allow user to add some formating, but I need prevent css and javascript injections. A开发者_Go百科ny solution how to do it?


TinyMCE has the ability to restrict the types of tags that users can enter - see the documentation for valid_elements and invalid_elements.

0

精彩评论

暂无评论...
验证码 换一张
取 消