瀏覽代碼

TContentType add json

visuddhinanda 3 年之前
父節點
當前提交
70e1f7e963
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dashboard/src/components/comment/CommentCreate.tsx

+ 1 - 1
dashboard/src/components/comment/CommentCreate.tsx

@@ -18,7 +18,7 @@ import { currentUser as _currentUser } from "../../reducers/current-user";
 import { useRef } from "react";
 import { useRef } from "react";
 import MDEditor from "@uiw/react-md-editor";
 import MDEditor from "@uiw/react-md-editor";
 
 
-export type TContentType = "text" | "markdown" | "html";
+export type TContentType = "text" | "markdown" | "html" | "json";
 
 
 interface IWidget {
 interface IWidget {
   resId?: string;
   resId?: string;