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

Styling issues with copy/paste from office apps #1280

Closed
rocinante-sys opened this issue Jul 27, 2023 · 1 comment
Closed

Styling issues with copy/paste from office apps #1280

rocinante-sys opened this issue Jul 27, 2023 · 1 comment
Milestone

Comments

@rocinante-sys
Copy link

Describe the bug
A clear and concise description of what the bug is.
There appears to be an issue with the parser from office apps. I tried to copy/paste some text from OneNote to Suneditor and there are styles missing as well as spaces.

To Reproduce
Steps to reproduce the behavior:

  1. Go to OneNote and write text as seen here
    image

  2. Highlight the text and copy it to clipboard

  3. Go to suneditor and paste the text from clipboard

  4. Pasted text to SunEditor
    image

p.s. If I copy same text from word then pasted text is ok with the exception of paste word not being bolded.
image

Expected behavior
I expect to see the same text formatting as in the office application.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: chrome Version 115.0.5790.102 (Official Build) (64-bit)
  • suneditor version: 2.45.1
  • suneditor-react version: 3.6.1
@orijmm
Copy link

orijmm commented Oct 26, 2023

I was using the latest version 2.45.1 and when I copied tables with bold text it didn't paste it the same way. I had to roll back to version 2.44.1 which was the last version that did the pasting correctly.

image

@JiHong88 JiHong88 added this to the 2.45.2 milestone Jan 13, 2024
JiHong88 added a commit that referenced this issue Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants