0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-26 12:45:21 +01:00
Tyrone Yeh 58cd8244ba
Fix markdown newline handling during IME composition (#36421)
### Summary

Fix incorrect newline handling in markdown editor when using IME input.

### Details

While composing text with an IME, pressing Enter should not trigger
markdown indentation logic.
This change skips indentation handling during composition by checking
`e.isComposing`.

This prevents unexpected line breaks and formatting issues for CJK
users.
2026-01-22 00:24:37 +00:00
..
2025-09-14 19:15:06 +03:00
2025-07-06 04:55:16 +00:00