Hi,
I just updated Netlify CMS from v2.9.7 to v2.10.48 to resolve this issue: #3722
But I have another issue on Markdown Widget "code-block" component.
Describe the bug
When I try to select a "mode" from "Field Settings" using the "code-block" component I am getting an error as below. (Screenshots)
To Reproduce
Expected behavior
Maybe a preview as highlighted for this component but have to add the language code to file => e.g. ```js
Screenshots
1- Select a Language

2- Console

Applicable Versions:
CMS configuration
```
```

if (mode) {
await Promise.resolve("codemirror/mode/".concat(mode, "/").concat(mode, ".js")).then(s => _interopRequireWildcard(require(s)));
}
Hi @furcan, this was merged but not released. The version on master branch is deployed here https://cms-demo.netlify.com/ so you cant test your use case there.
Hi @erezrokah
I have been tested and it seems to be ok.
Thanks for your support.
Have a nice day.