UL和LI标签在“ sanitize-html”中不起作用?

时间:2019-05-06 12:15:08

标签: reactjs sanitize html-sanitizing

我在我的React JS项目中使用https://www.npmjs.com/package/sanitize-html,但“ UL / LI&OL / LI”不起作用,正如我按照以下代码所尝试的:

<EditButton cmd="ul" />
<EditButton cmd="list" />
<EditButton cmd="unordered list" />
<EditButton cmd="formatBlock" arg="ul" name="listing" />

工作演示URL: https://codesandbox.io/s/l91xvkox9l

0 个答案:

没有答案