﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14660	"Pasting text from MS Word ""breaks"" styling in some cases"	Hakan Gündüz	Marek Lewandowski	"== Steps to reproduce ==

1. Open new Word document
2. Write some text
3. Set font size to 36
4. Mark text with yellow marker tool
5. copy & paste this text into ckeditor (prerequirement: config.pasteFromWordRemoveFontStyles & config.pasteFromWordRemoveStyles are set to FALSE)
6. see that yellow marking is only half the height of the text
7. happens because the plugin puts background-color and font-size not in the same but cascaded <SPAN> tags. So outer span doesn't now anything about the inner.
8. Dirty workaround is to comment out the lines 950-952 in ckeditor\plugins\pastefromword\filter\default.js

== Expected result ==
yellow background is as height as the text


{{{
<span style=""background: yellow; font-size: 36pt"">myTXT</span>
}}}


== Actual result ==
yellow background is only half the height of its text


{{{
<span style=""background: yellow;""><span style=""font-size: 36pt"">myTXT</span></span>
}}}

See attachment

== Other details (browser, OS, CKEditor version, installed plugins) ==
browser: firefox 29, windows 7, CKEditor version: 4.5.7, Paste From Word version: 4.4.8
"	Bug	closed	Normal	CKEditor 4.6.0	Plugin : Paste from Word		fixed		
