Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CKEditor 5 copy “Font Definitions” from word document #9002

Closed
paulocesarr opened this issue Feb 8, 2021 · 4 comments · Fixed by #15363
Closed

CKEditor 5 copy “Font Definitions” from word document #9002

paulocesarr opened this issue Feb 8, 2021 · 4 comments · Fixed by #15363
Labels
package:paste-from-office squad:core Issue to be handled by the Core team. type:bug This issue reports a buggy (incorrect) behavior.

Comments

@paulocesarr
Copy link

paulocesarr commented Feb 8, 2021

When I copy some text from my word document (.docx) some "Font Definitions" are copied. For example:

Word document:
image

✔️ Expected result

image

❌ Actual result

What is the actual result of the above steps?
image

📃 Other details


If you'd like to see this fixed sooner, add a 👍 reaction to this post.

@paulocesarr paulocesarr added the type:bug This issue reports a buggy (incorrect) behavior. label Feb 8, 2021
@FilipTokarski
Copy link
Member

Hi, thanks for the report! Indeed, I can confirm this happens when I use your sample file. However I'm not able to reproduce it in any way when trying with some other Word files.
Could you please share more details on this ( MS Word version, maybe some specific custom styles you used ) ? Or maybe is there some other minimal content in Word that we could use to reproduce this?

@FilipTokarski FilipTokarski added package:paste-from-office pending:feedback This issue is blocked by necessary feedback. labels Feb 12, 2021
@FilipTokarski
Copy link
Member

FilipTokarski commented Feb 12, 2021

It seems to be caused by this pseudo-table with numbers, below "Min Leakage Test...". Could you please provide step-by-step description on how you created this content?

@paulocesarr
Copy link
Author

Hi,
You don't need to copy the table. Some times happens, other times not. For example, look to the screen shot above, if I copy only the second (2) point of the "Alternations", the problem will happen. If you copy the first (1) point of the "Alternations", doesn't happen.
In Ckeditor 4 works fine (I don't know if this info can help you). Thanks a lot!

@FilipTokarski FilipTokarski added squad:core Issue to be handled by the Core team. and removed pending:feedback This issue is blocked by necessary feedback. labels Feb 12, 2021
@CKEditorBot
Copy link
Collaborator

There has been no activity on this issue for the past two years. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

niegowski added a commit that referenced this issue Nov 23, 2023
…en-copying-from-word-in-windows

Fix (paste-from-office): Content from Word documents should be pasted correctly (without HTML styles tag content) on Windows systems. Closes #15333. Closes #9002.
@CKEditorBot CKEditorBot added this to the iteration 69 milestone Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:paste-from-office squad:core Issue to be handled by the Core team. type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants