[Blink] Pasting from MS Word leaves <![endif]-->
Steps to reproduce
- Set
allowedContent : true
in editor configuration.
- Open replacebycode.html sample and attched MS Word File.
- Copy content from MS Word and paste it into editor.
- Switch to source
Expected result
<p></p><table cellpadding="0" cellspacing="0" width="100%"><tr><td><div><p>textbox</span></p></div></td></tr></table><img width="165" height="119" src="file:///C:\Users\john\AppData\Local\Temp\OICE_4027FAD9-2B4E-4B07-94CA-B7B328B953E0.0\msohtmlclip1\01\clip_image001.png" alt="Text Box: textbox" /></span>Plain text</span>
Actual result
<p></p><table cellpadding="0" cellspacing="0" width="100%"><tr><td><div><p>textbox</span></p></div></td></tr></table><![endif]--><img width="165" height="119" src="file:///C:\Users\john\AppData\Local\Temp\OICE_4027FAD9-2B4E-4B07-94CA-B7B328B953E0.0\msohtmlclip1\01\clip_image001.png" alt="Text Box: textbox" /></span>Plain text</span> </![endif]-->
Other details (browser, OS, CKEditor version, installed plugins)
Problem can be reproduced from CKEditor 4.5.0 in Blink browsers.
To workaround the problem, you can use the following code: