Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: #796

robin443fcebaef23
diff --git a/ui/src/components/Editor/Editor.tsx b/ui/src/components/Editor/Editor.tsx
index 5ead42c1..5c501742 100644
--- a/ui/src/components/Editor/Editor.tsx
+++ b/ui/src/components/Editor/Editor.tsx
@@ -90,7 +90,7 @@ const Editor = ({
return;
}
if (editor.getValue() !== value) {
- // editor.setValue(value);
+ editor.setValue(value);
}
}, [editor, value]);