Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[RNMobile] Fix pasting text on Post Title #16116
This PR fixes an issue where pasting text on post title was behaving as pressing Enter key when the title field is empty.
This PR fixes the issue by adding an
This PR does NOT fix pasting multi-paragraph text. I investigated multi-paragraph pasting and it will take some effort and discussion. I think the best would be to not use RichText on PostTitle, but let's have this discussion on another ticket.
Jun 12, 2019
Tested all sorts of pasting of single-line content into the title field in the mobile block editor using WPAndroid alpha-177 (12.8 alpha) on Pixel 3 Android 9 and it worked as expected. Also checked that I could undo changes and undo worked well (which I found helpful!).