Navigator is not defined in trix.esm.min.js
- Dominant language
- JavaScript
- Stars
- 20k
- Forks
- 1.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 13
Description
I am integrating the Trix editor in a gatsby react project
When i try to create develop build using npm scripts, it fails throwing error as mentioned in the image below
[issueImage](https://prnt.sc/w7syxv1ZlPaI)
But the case is that, when i remove the implementation till creating the develop build, and add the implementation again to the component after the build is generated, it works like charm, but don't know what to do for production build for this scenario.
please help me with this issue because this has really made my nights sleepless
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure in the reported Gatsby React develop and production-build setup, then inspect trix.esm.min.js for the Navigator reference. The issue provides no source file or test entry point; done means the build completes without the reported Navigator error while the editor still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100