Ckeditor4: Content pasted from Word document in read-only mode sometimes losses styling/formatting

Created on 13 May 2021  路  5Comments  路  Source: ckeditor/ckeditor4

Type of report

Failing test

Provide detailed reproduction steps (if any)

  1. Try to paste the second docx in readonly mopde (CKEditor4.PFW.Sample.Mixed_styles) from tests/plugins/pastefromword/manual/pastefromword

Expected result

The pasted content should look the same as in MSWord

Actual result

There is no style applied to pasted text

Other details

The first sample was pasted as expected

  • Browser: IE11
  • OS: Windows 10
  • CKEditor version: 4.16.1
  • Installed CKEditor plugins: -
ie11 pastefromword confirmed bug

All 5 comments

It seems to be working for me (IE11 on Windows 10) :thinking: Could you take a look on a gif below and tell if those are the exact same steps to reproduce the issue?

Animation

My steps were the same. I even rebuild the entire 4.16.1 and run the test again - with the same result...

I have Office Professional Plus 2016

pastefromword

Did you try copying after turning off Widok chroniony in Word? Maybe it restricts the content in the clipboard?

I thought I tested it with and without editing enabled and it failed... But now, the second sample looks fine after editing is ON. However, the first sample works fine with editing OFF :thinking:

So, should we close this issue?

I thought I tested it with and without editing enabled and it failed... But now, the second sample looks fine after editing is ON. However, the first sample works fine with editing OFF

So, should we close this issue?

Interesting... we could keep it open for future reference but let's adjust a title. OTOH I would say it's upstream then :thinking:

Let's leave it open and se if anyone else encounters similar issues.

Was this page helpful?
0 / 5 - 0 ratings