[wp-trac] [WordPress Trac] #22941: TinyMCE Paste From Word Uses <b> for Bold Instead of <strong>
WordPress Trac
noreply at wordpress.org
Fri Dec 14 15:40:40 UTC 2012
#22941: TinyMCE Paste From Word Uses <b> for Bold Instead of <strong>
-----------------------------+--------------------------
Reporter: cgrymala | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: TinyMCE
Version: 3.5 | Severity: normal
Keywords: |
-----------------------------+--------------------------
I'm not sure if this counts as a bug or not, but it's a definite change
between 3.4.2 and 3.5.
'''Steps to Reproduce:'''
1. Create a new Microsoft Word document
2. Type some text into the Word document and make it bold
3. Create a new post/page in WordPress, making sure that the Visual Editor
is selected
4. Copy the bold text from Word and use the Paste From Word button to
paste it into the new post/page you're creating
5. Switch to the HTML editor and look at the code
'''Expected Result:'''
1. The background HTML code for the bold text should be wrapped in
`<strong></strong>`
'''Actual Result:'''
1. The background HTML code for the bold text is actually wrapped in
`<b></b>`
Tested in WordPress 3.5 using Chrome 23.0.1271.97 m on Windows 8 x64. I'll
test in other browsers later.
I tested in a WordPress 3.4.2 installation in the same setup, and those
same steps produced text that was wrapped in `<strong></strong>`
correctly.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22941>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list