You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thank you for developing fleather-editor. It has been a great help in our development.
There is a bug in Korean language(한국어) input where the line's formatting reverts to the previous line's state after a line break and subsequent text input.
Korean is a language where letters are formed by combining consonants and vowels. Consonants are located on the left side of the keyboard, and vowels are on the right.
For example:
"ㄱ" + "ㅏ" = "가"
"ㅇ" + "ㅓ" + "ㅇ" = "엉"
Unlike other languages, typing in Korean often requires pressing the keyboard multiple times to create a single character.
The issue occurs in the following scenarios, all scenarios start with the editor in an empty state.
Input "ㄱㄱㄱ" → (line break) → Add formatting such as a checklist or list → Type "ㄱ" → Type "ㅏ".
Add formatting such as a checklist or list, type any string → (line break) → (line break) → Type "ㄱ" → Type "ㅏ".
Set indentation to level 1 → (line break) → Change indentation to level 2 → Type "ㄱ" → Type "ㅏ".
Start with an empty line → Apply formatting such as bold, italic, or underline → Type "ㄱ" → Type "ㅏ".
Summary:
In cases 1, 2, and 3, the issue occurs when the keyboard is pressed multiple times, but the actual character count does not increase after a line break. However, this does not happen when a complete character is formed after the line break (e.g., typing "ㅇ" + "ㅇ" + "ㅏ" after a line break works fine).
In case 4, although no line break is involved, the issue seems similar in that the formatting attempts to revert to its previous state.
This issue occurs only in the iOS environment and does not happen on Android.
Hi @mooneff , thanks for reporting the issue. After carefully looking into text deltas received on iOS platform, it seems like a Flutter issue to me. Here are text editing deltas received after entering "ㅏ" in two different scenarios:
As it can be seen, in the second scenario, the TextEditingDeltaDeletion removes a new line character too which causes the issue. Will create a Flutter issue.
Steps to Reproduce
Hello, thank you for developing fleather-editor. It has been a great help in our development.
There is a bug in Korean language(한국어) input where the line's formatting reverts to the previous line's state after a line break and subsequent text input.
Korean is a language where letters are formed by combining consonants and vowels. Consonants are located on the left side of the keyboard, and vowels are on the right.
For example:
"ㄱ" + "ㅏ" = "가"
"ㅇ" + "ㅓ" + "ㅇ" = "엉"
Unlike other languages, typing in Korean often requires pressing the keyboard multiple times to create a single character.
The issue occurs in the following scenarios, all scenarios start with the editor in an empty state.
Input "ㄱㄱㄱ" → (line break) → Add formatting such as a checklist or list → Type "ㄱ" → Type "ㅏ".
Add formatting such as a checklist or list, type any string → (line break) → (line break) → Type "ㄱ" → Type "ㅏ".
Set indentation to level 1 → (line break) → Change indentation to level 2 → Type "ㄱ" → Type "ㅏ".
Start with an empty line → Apply formatting such as bold, italic, or underline → Type "ㄱ" → Type "ㅏ".
Summary:
In cases 1, 2, and 3, the issue occurs when the keyboard is pressed multiple times, but the actual character count does not increase after a line break. However, this does not happen when a complete character is formed after the line break (e.g., typing "ㅇ" + "ㅇ" + "ㅏ" after a line break works fine).
In case 4, although no line break is involved, the issue seems similar in that the formatting attempts to revert to its previous state.
This issue occurs only in the iOS environment and does not happen on Android.
Thank you for developing fleather-editor.
Environment
Logs
The text was updated successfully, but these errors were encountered: