<div
className="editor-scroll"
style={{ height: "500px", overflow: "scroll" }}
>
<Editor
style={{ width: "100%" }}
dark={theme === "light" ? false : true}
placeholder="Write something..."
defaultValue={content}
// defaultValue="Write something..."
uploadImage={uploadImage}
onChange={(v) => handleContent(v())}
/>
</div>
/* hide scrollbar */
.editor-scroll::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.editor-scroll {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}