Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在HTMLPurifiertextarea中启用标签?
textarea
我试过:
$config->set('HTML.Allowed', 'textarea');
但它不起作用。如何解决这个问题呢?
除非您加载 Forms 模块,否则不支持 textarea。如果你打开 %HTML.Trusted,这个模块会被加载,但是这个指令也会打开 JavaScript 并且应该只用于受信任的用户。