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: 2021-07-04 12:51:04

results matching ""

    No results matching ""