Open lorenzo-octoenergy opened 3 years ago
This issue is still present btw. Any work-arounds are appreciated.
Caused by https://github.com/jpuri/react-draft-wysiwyg/blob/b5a6b84053f8d4725e334a9cbd141c73f1dc73d2/src/Editor/index.js#LL183. Tested by setting read-only to true.
Unable to add a file-uploader as a toolbar custom button!
Attempting to select a file to upload causes react-draft-wysiwyg to throw an error:
Code Sandbox: https://codesandbox.io/s/angry-sunset-kt3wj
Steps to reproduce: