Fix: Post title caret position issue#68005
Fix: Post title caret position issue#68005Kallyan01 wants to merge 2 commits intoWordPress:trunkfrom
Conversation
|
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @Kallyan01! In case you missed it, we'd love to have you join us in our Slack community. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Posted a general comment in the issue - #64724 (comment); let's continue the discussion there. @Kallyan01, the |
9df1dd1 to
4e4d929
Compare
|
Thanks for contributing, @Kallyan01! Closing this based on the general discussion in the issue. The selection needs to be tracked by the global and not the local state. I've some ideas on how to implement it and will try to create a PR when I've some time. |
What?
See: #64724
Why?
Previously we were not maintaining any caret position history stacks so predicting caret positions on undo/redo was not possible .
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast
Before
Screen.Recording.2024-12-16.at.4.22.47.PM.mov
After
Screen.Recording.2024-12-16.at.4.16.45.PM.mov