0

我想在我的 aloha 编辑器中添加代码标签。谁能告诉我如何将“代码”添加到 aloha 编辑器

4

1 回答 1

0

根据文档,应该可以使用格式插件http://aloha-editor.org/guides/plugin_format.html,但在设置中激活“代码”不起作用。查看当前来源,似乎缺少对“代码”元素的支持或仍然是待办事项。(https://github.com/alohaeditor/Aloha-Editor/blob/alohaeditor-0.25.4/src/plugins/common/format/lib/format-plugin.js

您可以为此功能编写自己的 Aloha-Plugin ( http://aloha-editor.org/guides/writing_plugins.html ),也可以在 Aloha-Editor Github 页面 ( https://github.com/ ) 上打开问题alohaeditor/Aloha-Editor/issues)并等待它修复。

于 2014-04-18T09:56:04.643 回答