+
+ );
+};
+
+export default MarkdownEditor
\ No newline at end of file
diff --git a/dashboard/src/components/common/MarkdownEditor/markdown.css b/dashboard/src/components/common/MarkdownEditor/markdown.css
new file mode 100644
index 0000000..7bbf3ba
--- /dev/null
+++ b/dashboard/src/components/common/MarkdownEditor/markdown.css
@@ -0,0 +1,7 @@
+.milkdown .ProseMirror {
+ padding:0 !important;
+}
+.milkdown .ProseMirror h1, .milkdown .ProseMirror h2, .milkdown .ProseMirror h3, .milkdown .ProseMirror h4, .milkdown .ProseMirror h5, .milkdown .ProseMirror h6 {
+ font-family: inherit;
+ font-weight: 600;
+}
\ No newline at end of file
diff --git a/dashboard/src/components/features/APIClient/APIClientContent.tsx b/dashboard/src/components/features/APIClient/APIClientContent.tsx
index 8472e78..eea2be4 100644
--- a/dashboard/src/components/features/APIClient/APIClientContent.tsx
+++ b/dashboard/src/components/features/APIClient/APIClientContent.tsx
@@ -137,10 +137,7 @@ const APIClientContent = ({ endpoint, open, parameters }: APIClientContentProps)
return obj
}
else {
- return Object.keys(data)?.filter((key) => !(key.includes('key') || key.includes('value'))).reduce((acc, key) => {
- acc[key] = data[key]
- return acc
- }, {} as Record)
+ return data
}
}
diff --git a/dashboard/src/components/features/documentation/DocsPage/DocsPageForm.tsx b/dashboard/src/components/features/documentation/DocsPage/DocsPageForm.tsx
new file mode 100644
index 0000000..802243a
--- /dev/null
+++ b/dashboard/src/components/features/documentation/DocsPage/DocsPageForm.tsx
@@ -0,0 +1,90 @@
+import { Check } from "@/components/common/Checkbox/Check";
+import { FormElement, FormHelperText } from "@/components/common/Forms/FormControl/FormElement";
+import { Input } from "@/components/ui/input";
+import { CommitDocsPage } from "@/types/commit/CommitDocsPage";
+import { ChevronDown, ChevronRight } from "lucide-react";
+import { useState } from "react";
+import { useFormContext } from "react-hook-form";
+
+export const DocsPageForm = () => {
+ const { register } = useFormContext();
+ const [isExpanded, setIsExpanded] = useState(false);
+
+ return (
+
+ {/* Title Field */}
+
+
+
+
+
+
+
+ {/* Hidden Fields */}
+ {isExpanded && (
+
+
+
+
+
+ Badge is a short text that appears on the left side of the title in the sidebar.
+
+
+
+
+
+ Add Tailwind colors like red, green, blue, yellow, etc.
+
+
+
+
+
+ Icon is the Lucide icon that appears on the left side of the title in the sidebar.
+
+
+