首页 > 解决方案 > In Redactor WYSIWYG editor, how can I add a

tag?

问题描述

This question applies to both Redactor 2 and 3. I'm searching for a way to add or edit <dl>, <dt> and <dd> tags. Does anyone know of a way to do this out of the box, or with a plugin?

标签: wysiwygredactorredactor.js

解决方案


我发现,如果你编辑 HTML,它就可以工作——因此 Redactor 支持该元素——但是当你粘贴它时,a<dl>会转换为 a 。<p>

不幸的是,这违背了所见即所得编辑器的目的:-/


推荐阅读