Unicode text input is broken with CodeMirror 4.8 (needs upgrade)
还没有人认领这个 Issue。
- 主要语言
- Ruby
- 星标
- 256
- 派生
- 110
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi, While working on an Arabic-script translation for TryRuby (PR #222 – Persian),
I noticed that text input in the editor is unreliable for Unicode content.
TryRuby currently uses CodeMirror 4.8, which has known issues with Unicode/BiDi text handling. This can result in incorrect character order and cursor behavior (e.g. Persian text rendering in reverse).
This is not a CSS or direction issue, but a limitation of the old CodeMirror 4.x text insertion logic. This directly affects the usability of Arabic-script languages.
Suggestion: upgrade CodeMirror to a newer version (5.x or later).
Even a minor upgrade should significantly improve Unicode input handling.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
检查 TryRuby 集成和 CodeMirror 4.8 的依赖项条目,然后使用波斯语或其他阿拉伯字母文字输入来复现所报告的行为。比较升级后的当前编辑器行为,并验证字符顺序和光标移动;完成标准是 Unicode 文本输入能够可靠工作,同时不更改 CSS 或文本方向。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100