diff --git a/app/[locale]/(admin)/admin/content/video/create/page.tsx b/app/[locale]/(admin)/admin/content/video/create/page.tsx
index bb682d9..e901756 100644
--- a/app/[locale]/(admin)/admin/content/video/create/page.tsx
+++ b/app/[locale]/(admin)/admin/content/video/create/page.tsx
@@ -5,7 +5,7 @@ const VideoCreatePage = async () => {
return (
-
diff --git a/components/editor/view-editor.js b/components/editor/view-editor.js
index 2dae74e..9677034 100644
--- a/components/editor/view-editor.js
+++ b/components/editor/view-editor.js
@@ -1,19 +1,171 @@
import React from "react";
import { CKEditor } from "@ckeditor/ckeditor5-react";
-import Editor from "@/vendor/ckeditor5/build/ckeditor";
+import Editor from "ckeditor5-custom-build";
function ViewEditor(props) {
+ const maxHeight = props.maxHeight || 600; // Default max height 600px
+
return (
-
+
+
+
+
);
}
export default ViewEditor;
+
+// import React from "react";
+// import { CKEditor } from "@ckeditor/ckeditor5-react";
+// import Editor from "@/vendor/ckeditor5/build/ckeditor";
+
+// function ViewEditor(props) {
+// return (
+//
+// );
+// }
+
+// export default ViewEditor;