Skip to content

Simple Payments block: Cut, copy in fields doesn't work as expected #11906

Closed

Description

Steps to reproduce

  1. Create a Simple Payment block
  2. Edit the block
  3. Select text in email field
  4. Try to copy (unexpect result in clipboard) or cut (no text removed, same unexpected clipboard)

What I expected

Cut and copy of selected text work as expected

What happened instead

Block HTML is copied:

<!-- wp:jetpack/simple-payments {"currency":"JPY","content":"This mostly works fine","email":"a.payment.address@example.com","paymentId":247,"price":42,"title":"An example Simple Payment"} -->
[simple-payment id="247"]
<!-- /wp:jetpack/simple-payments -->

Screenshot / Video

screen shot 2018-11-15 at 18 11 26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

[Feature] Pay with PayPalaka Simple Payments[Focus] BlocksIssues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack[Pri] Low[Type] BugWhen a feature is broken and / or not performing as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions