Fix Safari Chinese IME text truncation in table cells and structured … #187

Closed
ghost wants to merge 2 commits from master into master
ghost commented 2025-12-22 16:01:55 +01:00 (Migrated from github.com)

Safari: 26.2 (21623.1.14.11.9)

  • Detect and abort invalid structural DOM changes (DIV/P/BR) during composition
  • Only block changes when selection is empty (cursor insertion)
  • Handle compositionend by inserting final text correctly
  • Force DOM reconciliation to clear ghost nodes from invalid splits
  • Add compositionPos tracking to accurately replace pinyin range
Safari: 26.2 (21623.1.14.11.9) - Detect and abort invalid structural DOM changes (DIV/P/BR) during composition - Only block changes when selection is empty (cursor insertion) - Handle compositionend by inserting final text correctly - Force DOM reconciliation to clear ghost nodes from invalid splits - Add compositionPos tracking to accurately replace pinyin range

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
prosemirror/prosemirror-view!187
No description provided.