Closed supnim closed 1 year ago
Could you help me to reproduce that? Looks like the UMD module can't be loaded properly in your environment.
added you to the repo so you can reproduce the issue :) lmk if I can help in another way
Thank you, I'll take a look a bit later today.
wonderful! thanks mate - appreciate it :)
Currently, you can use the following workaround:
import { DefaultEditor } from "react-simple-wysiwyg/lib/index.js"
I'll try to make a fix in this week.
thanks mate, much appreciated :)
That issue is fixed in v2.1.1
I have added you to the repo so you can reproduce it :)
On 16 Aug 2022, at 12:20, Alexey Prokhorov @.***> wrote:
Could you help me to reproduce that? Looks like the UMD module can't be loaded properly in your environment.
— Reply to this email directly, view it on GitHub https://github.com/megahertz/react-simple-wysiwyg/issues/12#issuecomment-1216126244, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJFFUQ7AJAIGTCLNPOVPQJTVZMJH3ANCNFSM56UDNRWA. You are receiving this because you authored the thread.
Does v2.1.1 work fine for you without the workaround?
When I navigate to page it's fine and shows and works but when I reload it, it breaks and throws this error.
This is my implementation:
TextEditor.tsx:
post-job.tsx:
Any help would be wonderful as this WYSIWYG has been the easiest to implement :)