Word Copy Paste Style tag construction not proper and making rendering inconsistent.
Type of report
Bug
Provide detailed reproduction steps (if any)
You can use one of our samples to create the reproduction sample:

- Please check the above image.
- I copied content from word having font-styles with Arial, Arial Black, Calibri, Times New Roman, Open Sans.
- Inspect and see the DOM construction, the quotes were not proper in style attribute.
WHAT WILL HAPPEN IF IT IS NOT PROPER: If we are escaping and un-escaping the content to store it in DB, the outcome will not be proper and it makes the rendering inconsistent.
Expected result
<span style="font-family:'Arial Black',sans-serif" />
Actual result
<span style="font-family:"Arial Black",sans-serif" />
Other details
- Browser: 87.0.4280.88 (Official Build) (64-bit), Edge 87.0.664.75(64 bit), Firefox 84.0.1 (64-bit)
- OS: Windows 10 Enterprise
- CKEditor version: 4.15.1
- Installed CKEditor plugins:

Hello, I can confirm this behaviour. Please note that if you properly extract the editor contents using editor.getData() method, the resulting string has the double quotes already escaped and it looks like this:
<p><span style="font-family:"Arial Black",sans-serif">Hello!</span></p>
You can also test it in the editor with sourcearea plugin installed, like in CDN - then you can check the result of getData() method without browser dev tools.
Still, it seems it would be better if we adjusted this according to the proposal in issue, i.e. we should have single quotes there instead of double quotes.
Thanks @Dumluregn for confirming this issue. When this will be fixed?
We have a number of other priorities currently, so unfortunately there is no ETA for this issue. If you have a commercial license, please contact our support team for some suggestions on finding the workaround.
Hi @Dumluregn,
I am having the same issue. I am able to use the editor.getData() then find and replace as temporary workaround, but can you confirm that this issue will be put on a roadmap to be worked on and applied to a future release?
Thanks, Allen
Hello @allen138, unfortunately this is a commitment that I can not make. We have different areas of focus that PfW plugin for the next release. We may consider this issue in the future, but I'm unable to give any estimation when it could be.