[wp-trac] [WordPress Trac] #23321: ins button in text editor produce semantically different HTML then the U button at the visual editor

WordPress Trac noreply at wordpress.org
Wed Jan 30 06:54:51 UTC 2013


#23321: ins button in text editor produce semantically different HTML then the U
button at the visual editor
-----------------------------+--------------------------
 Reporter:  mark-k           |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Editor
  Version:                   |   Severity:  minor
 Keywords:                   |
-----------------------------+--------------------------
 U button at the visual editor makes something like

 {{{
 <span style="text-decoration: underline;">text</span>
 }}}

 while the ins at the text editor makes

 {{{
 <ins datetime="2013-01-30T05:44:49+00:00">text</ins>
 }}}

 It is actually not easy to understand that the intentions behind both are
 equivalent - underline the text*, but semantically they have different
 meaning, and in the context of WP usage the styling one has probably the
 more correct meaning.

 Alternatively, if "ins" is important html tag then why it is not possible
 to add it in the visual editor.

 related #20149

 *Browsers by default underline "ins" but twentyeleven and twentytwelve
 remove it.

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


More information about the wp-trac mailing list