Skip to content

Add editorType for post.

简述流程:

  1. 添加 editorType 字段,默认为 Markdown(0)。
  2. 在保存的时候,当 editorType 为 MARKDOWN 时,使用 MarkdownUtils 渲染 originalContent 的内容到 formatContent。当 editorType 为 RICHTEXT 时,直接保存 originalContent 字段的内容到 formatContent。也就是接口还是只传入 originalContent,只是额外增加了个 editorType

合并请求报告