Package Version
Which package and version are you using? latest main
User Info
Research super_editor for prove of concepts
To Reproduce
Steps to reproduce the behavior:
- Open Super Editor and type a paragraph of text (e.g., "This is a sample paragraph to test pasting.").
- Place the cursor in the middle of the paragraph (e.g., between "sample" and "paragraph").
- Paste any text (e.g., "inserted") using Ctrl+V or the context menu.
- Observe the cursor position after pasting.
Actual behavior
Cursor reset to the end of paragraph
Expected behavior
Cursor should remain at the pasted location.
Platform
Ubuntu 24.04.2 LTS 6.11.0-17-generic, locale en_US.UTF-8)
using Flutter Web with Chrome 133.0.6943.53
Flutter version
Flutter Channel stable, 3.29.0
Dart SDK version: 3.7.0 (stable) (Wed Feb 5 04:53:58 2025 -0800) on "linux_x64"
Additional context
This can be recreated by running the built in example from the repo super_editor/super_editor/example