Skip to content

Commit a488d26

Browse files
committed
fix: disable editor
1 parent fb89725 commit a488d26

File tree

1 file changed

+1
-0
lines changed
  • apps/frontend/src/app/question/[id]

1 file changed

+1
-0
lines changed

apps/frontend/src/app/question/[id]/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export default function QuestionPage() {
8181
EditorView.theme({
8282
"&": { height: "100%", overflow: "hidden" }, // Enable Scroll
8383
}),
84+
EditorView.editable.of(false), // Disable editing
8485
],
8586
});
8687

0 commit comments

Comments
 (0)