josdejong / josdejong/jsoneditor
Switching to 'code' mode -> Could not load worker TypeError: e.split is not a function
Open
- Dominant language
- JavaScript
- Stars
- 12.3k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
I initially load the jsonEditor in tree mode, however whenever the editor is switched to code mode via the tool bar, I get a warning: `Could not load worker TypeError: e.split is not a function`.
I also have another place in my application where I load the JsonEditor in code mode and it throws the same error.
I see that in your documentation that you indicate that the ace editor must be loaded on the page to use 'code' mode, but I also see in your comment on issue #240 that you say it's not required to load ace separately.
How do I fix this issue?
Contributor guide
Assessment
This issue has not been assessed yet.