Hi Team,
Unable show/hide and enable/disable document editor based on the react state value, raising an error (Failed to decode downloaded font ... OTS).
Following is the requirement, on initial loading document editor will be disabled and no pans for the editor are shown (Screenshot 1). On click of 'Edit' there is a change in the react state object, and need to enable the editor.
While enabling the editor using line of code. this.documenteditor.enableToolbar = true;.
It is giving an error in browser (screenshot 2). Can You please provide an fix or provide an example for this. TQIA.
Screenshot 1:
Screenshot 2: error