Make WordPress Core

Opened 12 years ago

Closed 7 years ago

#31523 closed defect (bug) (worksforme)

Replacing blockquote content adds goofy markup

Reported by: michael-arestad Owned by:
Priority: normal Milestone:
Component: TinyMCE Version:
Severity: normal Keywords: upstream
Cc: Focuses:

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
12 years ago

Word count: 11... :)

#2 @iseulde
12 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
12 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
11 years ago

  • Keywords reporter-feedback removed

#5 @iseulde
11 years ago

  • Version trunk

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.


10 years ago

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


10 years ago

#8 @iseulde
10 years ago

  • Keywords upstream added

#9 @azaozz
7 years ago

  • Milestone Awaiting Review
  • Resolutionworksforme
  • Status newclosed

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.