JasonOA888
28bb2204e7
fix(page-controller): improve contenteditable input with proper events
## Problem
Input into contenteditable elements (like LinkedIn post editor) fails
because simply setting innerText does not trigger framework event listeners.
## Solution
Dispatch a full sequence of events that rich text editors expect:
- beforeinput (for React apps)
- input (standard)
- keydown/keyup (for keyboard listeners)
- change (for validation)
- blur + refocus (to trigger change detection)
## Testing
Tested on:
- LinkedIn post editor
- Draft.js editors
- Contenteditable divs with React listeners
Fixes #168
2026-03-10 10:32:07 +08:00
..
2026-03-10 10:32:07 +08:00
2026-03-09 23:35:04 +08:00
2026-01-17 16:15:36 +08:00
2026-01-17 16:15:36 +08:00
2026-01-16 14:50:56 +08:00