Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paste and Match styles doesn't preserve pre-existing styling applied to text #4591

Closed
bmattb opened this issue Sep 21, 2020 · 1 comment
Closed
Assignees
Labels
Elements: Text Group: Copy/Paste Clipboard-related functionality P1 High priority, must do soon Status: Duplicate This issue or pull request already exists Type: Bug Something isn't working

Comments

@bmattb
Copy link

bmattb commented Sep 21, 2020

Bug Description

If a user sets a style on text (font, colours) on a text element, then pastes text into that element using the browser "Paste and match styles" the formatting previously applied is not applied to the pasted text and the style must be reapplied.

Expected Behaviour

Text pasted into a text element with styling already applied using "Paste and match styles" should preserve the styling that is already in place and render the text with said styling applied.

Steps to Reproduce

  1. Create a text element and update the font and colour
  2. Copy some text into your clipboard
  3. Select into the text element and bring up the context menu
  4. Select "Paste and match style"

Screenshots

Additional Context

This appears to be working fine in RC1

  • Plugin Version:
  • Operating System:
  • Browser:

Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance Criteria

Implementation Brief

@bmattb bmattb added Elements: Text Group: Copy/Paste Clipboard-related functionality Type: Bug Something isn't working labels Sep 21, 2020
@o-fernandez o-fernandez added the P1 High priority, must do soon label Sep 21, 2020
@o-fernandez o-fernandez added this to the Sprint 38 milestone Sep 21, 2020
@o-fernandez o-fernandez removed their assignment Sep 21, 2020
@barklund barklund self-assigned this Sep 21, 2020
@barklund
Copy link
Contributor

barklund commented Sep 21, 2020

Duplicate of #1605

@barklund barklund marked this as a duplicate of #1605 Sep 21, 2020
@swissspidy swissspidy added the Status: Duplicate This issue or pull request already exists label Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Elements: Text Group: Copy/Paste Clipboard-related functionality P1 High priority, must do soon Status: Duplicate This issue or pull request already exists Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants