[wp-trac] [WordPress Trac] #23103: Non image caption shortcode lost when switching from text to visual editor and back

WordPress Trac noreply at wordpress.org
Wed Jan 2 16:40:26 UTC 2013


#23103: Non image caption shortcode lost when switching from text to visual editor
and back
-----------------------------+--------------------------
 Reporter:  mark-k           |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Editor
  Version:  3.5              |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 1. Add the line in text editor
 {{{
 [caption caption="test" width="300"]Checkuot this text[/caption]
 }}}

 2. switch to visual editor

 3. switch back to text and you get
 {{{
 <dl class="wp-caption alignnone" id="" style="width: 310px;"><dt class
 ="wp-caption-dt">Checkuot this text</dt><dd class="wp-caption-
 dd">test</dd></dl>
 }}}

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


More information about the wp-trac mailing list