I am using codemirror6 in react, below is the only dependency i am using
import CodeMirror from “@uiw/react-codemirror”;
i tried to make this readonly/select only but user should not edit this at all, i have trued multiple things but nothing worked.
could anyone please help me.