[wp-trac] [WordPress Trac] #25387: Autoembeds don't work with paragraphs

WordPress Trac noreply at wordpress.org
Fri Sep 4 18:19:47 UTC 2015


#25387: Autoembeds don't work with paragraphs
-------------------------------------+-----------------------------
 Reporter:  Looimaster               |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Embeds                   |     Version:  3.6
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by seanchayes):

 What is everyone else seeing using current revision r33902? I'm not saying
 this revision changed the behavior just that I can't easily replicate the
 original scenario of this ticket.

 I've noticed that after creating/editing in Text switching to Visual
 knocks out the paragraph tags upon return to Text.

 So, in this scenario, when I wrap a YouTube (or DailyMotion) url in
 `<p></p>` tags in Text and then switch to Visual and then switch back to
 Text the url is displayed without the wrapping `<p>` tag, exists on it's
 own line and is processed just like a regular embed.

 For that matter any content that was also wrapped in paragraph tags also
 loses the tags in the switch.

 So I'm not sure we are adding any value in this patch/ticket and am
 interested if anyone agrees or there's something else I'm missing perhaps.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25387#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list