wysiwyg - 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?
解决方案
我发现,如果你编辑 HTML,它就可以工作——因此 Redactor 支持该元素——但是当你粘贴它时,a<dl>
会转换为 a 。<p>
不幸的是,这违背了所见即所得编辑器的目的:-/
推荐阅读
- angular - 使用 Angular 9 难以更新极简主义者
- typescript - Electron & TypeScript (&electron-builder):“不能在模块外使用 import 语句”
- json - Postgresql - 嵌套 JSON blob 中的元素计数
- javascript - Javascript中的可观察代码'return =>'是什么意思?
- javascript - 如何在每次调用端点时不总是获取“userinfo”的情况下获取“email_verified”(或任何用户配置文件数据)?
- c# - 无法使用 C# 将 JSON 反序列化为对象
- rendertron - Rendertron 需要在 HTTP 代理后面运行
- windows - 只打印出每个变量的第一个字母不知道为什么
- php - Laravel,图像未从存储文件夹加载
- c - 在 C 中反转链表