OfficeDev/office-js

MS Word formatting is disturbed

Closed this issue · 7 comments

I have updated ReactWordPortFolio sample to upload file.
Sample.zip
src.zip
SampleFile.docx

Refer Sample.zip with application build. src.zip is source code. And SampleFile.docx is file we are trying to upload.
You can see loaded file in office online version and formatting is disturbed. Can you tell me how to handle this? This is show stopper issue.

@ishanig11 Can you provide the project zip (the src's parent folder compression) to me? Since it seems that there is something lack when I use the src. Thank you~

ReactWordPortFolio.zip
execute npm install command to get npm modules installed.

record.of.ReactWordPortFolio.mp4

It seems it works well on my work station. Can you provide a video or describe the behavior in details? Thanks.

@yilin4 : You can compare source document and document loaded using office.js. Here you can formatting is messed up. Second page information is coming on first page.

@ishanig11 Sorry for responding late. I have tried and it was actually different from the sample file. I clicked the button at top right corner editing -> Open in desktop app to open the file at desktop and the file was same as the sample code, it seems that some of components in the sample file can't be rendered on online word. It has been put on our backlog<Bug#9053807> for internal track. We will keep track of this issue and let you know if there are any updates.

This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!

This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.