[wp-trac] [WordPress Trac] #16526: Switching from "HTML" to "Visual" view when creating/adding a post deletes some of the code

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 10 20:35:18 UTC 2011


#16526: Switching from "HTML" to "Visual" view when creating/adding a post deletes
some of the code
--------------------------+-----------------------------
 Reporter:  farinha       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  3.0.5
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Trying to use Vimeo's embed code in a post. When I add the code in the
 "HTML" view of a post and hit "Preview", the code works with no problem.
 But if I switch to "Visual" view (to write the rest of the post, the
 iframe part of the code gets removed, and so the video no longer appears
 in the post. Here's the Vimeo embed code:

 <iframe src="http://player.vimeo.com/video/19723907" width="540"
 height="304" frameborder="0"></iframe><p><a
 href="http://vimeo.com/19723907">Moullinex - Catalina</a> from <a
 href="http://vimeo.com/moullinex">Moullinex</a> on <a
 href="http://vimeo.com">Vimeo</a>.</p>

 And after switching from "HTML" to "Visual" and then back to "HTML":

 <a href="http://vimeo.com/19723907">Moullinex - Catalina</a> from <a
 href="http://vimeo.com/moullinex">Moullinex</a> on <a
 href="http://vimeo.com">Vimeo</a>.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16526>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list