CKEditor5 降价和上标不起作用?

CKEditor5 markdown and superscript not working?

我正在使用 CKEditor 5,带有 Markdown and Superscript plugins. As per the git 文档上标的内联编辑器在降价中表示为 <sup></sup>。通过编辑器设置数据非常有效。 示例:editor.setData("* **Per** modified decision <sup>tree</sup>.") 但是,editor.getData() returns 没有 sup 标签的降价。 * **Per** modified decision tree. 如何配置编辑器以允许返回的降价数据中的标签?

这将在降价输出中保留 'sup' 或任何其他 html 标签。 editor.data.processor.keepHtml('sup')