Wp-calypso: Shortcode Block: Copying part of the text from the block copies the entire content instead

Created on 13 Jun 2020  路  3Comments  路  Source: Automattic/wp-calypso

Steps to reproduce

  1. Add Shortcode Block into a Page/Post
  2. Type a few words into it
  3. Select one word and Copy it (either with the keyboard shortcut or via mouse menu)

What I expected

Get the selection copied into the clipboard

What happened instead

The entire content of the block is copied

Browser / OS version

Any

Screenshot / Video


_Link: https://d.pr/i/ggiL5s_

Context / Source

The same issue happens for Custom HTML Block https://github.com/Automattic/wp-calypso/issues/42998

dogfooding

Blocks [Type] Bug

Most helpful comment

This might be fixed in Gutenberg 8.3 with https://github.com/WordPress/gutenberg/pull/22793

All 3 comments

Does this happen in Gutenberg outside WordPress.com as well? If so, this could be opened in Gutenberg repo https://github.com/WordPress/gutenberg

This might be fixed in Gutenberg 8.3 with https://github.com/WordPress/gutenberg/pull/22793

Fixed in the current Gutenberg version installed on wpcom. See https://github.com/Automattic/wp-calypso/issues/42998#issuecomment-648823961

Was this page helpful?
0 / 5 - 0 ratings