OfficeDev / OfficeDev/office-js
Line spacing issue when pasting the content in word using WOPI.
Open
@wangyun-microsoft is already working on this.
Since Jan 31, 2025.
Area: Word
Type: product bug
- Dominant language
- JavaScript
- Stars
- 845
- Forks
- 124
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 1
Description
We are using Office.context.document.setSelectedDataAsync() method to paste the content into a word file. Whenever the content is pasted extra line spacing is getting added to every line which can be seen in the below screenshots.
Every time I edit and save the document, line spacing is getting increased.
I am also attaching the code snipper for review.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.