XSS

Rich text editor is easily attacted by attackers.

We recommand use xss.

const html = editor.txt.html()
const safeHtml = xss(html)
console.log('filtered html', safeHtml)
Copyright © wangEditor (2020 - present) all right reserved,powered by GitbookFile Modify: 2022-04-11 06:40:29

results matching ""

    No results matching ""