Closed ammasum closed 2 years ago
pass the readOnly props as false <ReactEditorJS {....other_props} readOnly={false}/>
to toggle :
editorCore.current.readOnly.toggle()
it's working one 2.0.5 on my end but 2.0.6 throw TypeError: Cannot read properties of undefined (reading 'toggle')
tho
@ammasum Hi! First of all, thanks for your interest! ๐
You can use readOnly prop
Thanks!
I want to make editor only reading mode. How can I achieve this?