Closed Ashish-3000 closed 2 years ago
@Ashish-3000 Hi! First of all, thanks for your interest! π
You can use readOnly Prop ππ»
Thanks!
can I ask a question? right now I am using readOnly with a useState hook. Looks like it won't update the state of readOnly. I want it to be dynamically changable.
looks like editorCore.current.readOnly.toggle() is not working.
ps: const editorCore = useRef<EditorJS | null>(null);
@Kentakoong Oh, Thank you! I'll fix it.
Can you add read-only feature I have tried to access it from the instance created but the object fields are added after some time so that's why it's hard to access it.