Skip to content

Unicode text input is broken with CodeMirror 4.8 (needs upgrade) #223

@Goudarz

Description

@Goudarz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions