suneditor
suneditor copied to clipboard
Styling issues with copy/paste from office apps
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:
-
Go to OneNote and write text as seen here
-
Highlight the text and copy it to clipboard
-
Go to suneditor and paste the text from clipboard
-
Pasted text to SunEditor
p.s. If I copy same text from word then pasted text is ok with the exception of paste
word not being bolded.
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
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.