You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When collaborating in RTC using blocks that contain multiple RichText fields (such as the Quote or Pullquote blocks), making text selections or edits in a secondary field (like citation) causes the cursor to be shown in wrong position in other clients.
buggy-cursor-quote-block.mov
From what I can notice, the cursor is off by exactly the length of the first attribute.
Step-by-step reproduction instructions
Open a collaborative session with two users (User A and User B).
Insert a Quote block.
Set the value (quote body) to: hello
Set the citation to: testing
Have User A place their cursor at the very end of the citation: testing|
Look at User B's screen. User A's remote cursor will be rendered at 5 places (length of “hello”) behind the actual position: te|sting.
Screenshots, screen recording, code snippet
This can be reproduced on other multi-attribute blocks like "File" and "Pull Quote" as well.
cursor-off.mov
Environment info
WordPress: 7.1-alpha-62191
Gutenberg (23.0.0)
Chrome on MacOS 26.4
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Please confirm which theme type you used for testing.
Description
When collaborating in RTC using blocks that contain multiple RichText fields (such as the Quote or Pullquote blocks), making text selections or edits in a secondary field (like citation) causes the cursor to be shown in wrong position in other clients.
buggy-cursor-quote-block.mov
From what I can notice, the cursor is off by exactly the length of the first attribute.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
This can be reproduced on other multi-attribute blocks like "File" and "Pull Quote" as well.
cursor-off.mov
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.