diff --git a/src/components/creater/edit-description-panel.tsx b/src/components/creater/edit-description-panel.tsx
index ef0cbcc..d34c781 100644
--- a/src/components/creater/edit-description-panel.tsx
+++ b/src/components/creater/edit-description-panel.tsx
@@ -3,9 +3,10 @@
import { useState } from "react";
import { Label } from "@/components/ui/label";
import { Input } from "@/components/ui/input";
-import { Textarea } from "@/components/ui/textarea";
import { Button } from "@/components/ui/button";
import MdxPreview from "@/components/mdx-preview";
+import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
+import {CoreEditor} from "@/components/core-editor";
interface EditDescriptionPanelProps {
problemId: string;
@@ -19,57 +20,65 @@ export const EditDescriptionPanel = ({
const [viewMode, setViewMode] = useState<'edit' | 'preview' | 'compare'>('edit');
return (
-
-
-
- setTitle(e.target.value)}
- placeholder="输入题目标题"
- />
-
-
-
-
-
-
-
-
+
+
);
};
\ No newline at end of file
diff --git a/src/components/creater/edit-solution-panel.tsx b/src/components/creater/edit-solution-panel.tsx
index 6f15503..bf1eb03 100644
--- a/src/components/creater/edit-solution-panel.tsx
+++ b/src/components/creater/edit-solution-panel.tsx
@@ -3,9 +3,10 @@
import { useState } from "react";
import { Label } from "@/components/ui/label";
import { Input } from "@/components/ui/input";
-import { Textarea } from "@/components/ui/textarea";
import { Button } from "@/components/ui/button";
import MdxPreview from "@/components/mdx-preview";
+import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
+import {CoreEditor} from "@/components/core-editor";
interface EditSolutionPanelProps {
problemId: string;
@@ -19,57 +20,65 @@ export const EditSolutionPanel = ({
const [viewMode, setViewMode] = useState<'edit' | 'preview' | 'compare'>('edit');
return (
-
-
-
- setTitle(e.target.value)}
- placeholder="输入题解标题"
- />
-
-
-
-
-
-
-
-
+
+
);
};
\ No newline at end of file