Make WordPress Core

Opened 9 years ago

Closed 5 years ago

#31523 closed defect (bug) (worksforme)

Replacing blockquote content adds goofy markup

Reported by: michael-arestad's profile Michael Arestad Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: TinyMCE Keywords: upstream
Focuses: Cc:

Description

Steps to reproduce:

  • New post in Visual mode
  • Write a bit of text and make it a blockquote
  • after the blockquote, write normal p text and add a link somewhere
  • Triple click the blockquote and paste in a new bit of text

Screenshots
https://cldup.com/buJM85Bj7o.png
https://cldup.com/YxJfyKkvux.png
https://cldup.com/NoO00QY_ht.png
https://cldup.com/-CeFMjvz9t.png
https://cldup.com/J785oxrhkD.png

Discovered in Mac Chrome (haven't tested other browsers) by @matt

Video here: https://cloudup.com/cY6BR234C8j
Site content was pasted from here: http://technoccult.net/archives/2013/11/18/prada-revolutionaries/

Change History (9)

#1 @iseulde
9 years ago

Word count: 11... :)

#2 @iseulde
9 years ago

  • Keywords reporter-feedback added

Can you give more specific steps to reproduce this? Sound like the problem appears in the last step (pasting)? What exactly did you paste?

#3 @Michael Arestad
9 years ago

@isuelde I copied content from here: http://technoccult.net/archives/2013/11/18/prada-revolutionaries/

Specifically, the exact quote in the images above.

#4 @iseulde
9 years ago

  • Keywords reporter-feedback removed

#5 @iseulde
9 years ago

  • Version trunk deleted

To reproduce, you need a blockquote and a normal paragraph. Triple click the blockquote and paste two paragraphs over it. The last paragraph is now in the blockquote and has weird styles.

Happens in 4.1 too. Only happens in webkit as far as I can see.

Note that is a contenteditable issue, not a TinyMCE issue.

This ticket was mentioned in Slack in #core-editor by iseulde. View the logs.


8 years ago

This ticket was mentioned in Slack in #core-tinymce by iseulde. View the logs.


8 years ago

#8 @iseulde
7 years ago

  • Keywords upstream added

#9 @azaozz
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

This is yet another case of Chromium based browsers inserting inline styles to match the styling of the source page the text was copied from. Many of these were fixed upstream, seems this one too. That's also superseded by the block editor.

Note: See TracTickets for help on using tickets.