|
@@ -18,6 +18,7 @@ import {
|
|
|
ITermResponse,
|
|
ITermResponse,
|
|
|
} from "../api/Term";
|
|
} from "../api/Term";
|
|
|
import { get, post, put } from "../../request";
|
|
import { get, post, put } from "../../request";
|
|
|
|
|
+import MDEditor from "@uiw/react-md-editor";
|
|
|
|
|
|
|
|
export interface ITerm {
|
|
export interface ITerm {
|
|
|
id?: string;
|
|
id?: string;
|
|
@@ -245,13 +246,13 @@ const Widget = ({ id, word, channelId, studioName, onUpdate }: IWidget) => {
|
|
|
<LangSelect />
|
|
<LangSelect />
|
|
|
</ProForm.Group>
|
|
</ProForm.Group>
|
|
|
<ProForm.Group>
|
|
<ProForm.Group>
|
|
|
- <ProFormTextArea
|
|
|
|
|
|
|
+ <Form.Item
|
|
|
|
|
+ style={{ width: "100%" }}
|
|
|
name="note"
|
|
name="note"
|
|
|
- width="xl"
|
|
|
|
|
- label={intl.formatMessage({
|
|
|
|
|
- id: "forms.fields.note.label",
|
|
|
|
|
- })}
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ label={intl.formatMessage({ id: "forms.fields.note.label" })}
|
|
|
|
|
+ >
|
|
|
|
|
+ <MDEditor />
|
|
|
|
|
+ </Form.Item>
|
|
|
</ProForm.Group>
|
|
</ProForm.Group>
|
|
|
</ProForm>
|
|
</ProForm>
|
|
|
);
|
|
);
|