codex-team / codex-team/editor.js
[Bug] When using more than one editor on one page, language setting for each editor is not possible.
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
When using more than one editor on one page, using the `i18n` option in at least one of those editors will cause all editors to use the last language set.
Steps to reproduce:
1. Use more than one editor on one page.
2. Set the `i18n` option in at least one of those editors.
See example code: https://gist.github.com/ony3000/2793ba5ed28d6a169c727b82b31aeedc
Expected behavior:
1. Editors without the `i18n` option set uses the default language.
2. Editors with the `i18n` option set uses the language set only in that editor.
Screenshots:

Device, Browser, OS:
* Device: Desktop
* Browser: Google Chrome
* OS: Windows 10 Home
Editor.js version: 2.19.0
Plugins you use with their versions: nothing
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.