balticsunlight
balticsunlight

Reputation: 57

Image in header shows in Word for Desktop but disappears in Word Online

I use insertHtml inserted an online image in my header, however, it only works on a desktop. When I go back to edit the document online the image doesn't show correctly. The image frame shows in the correct spot, but not the actual image.

Can someone explain?

myHeader.insertHtml(
  '<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/32/CGI_logo.svg/1200px-CGI_logo.svg.png" alt="logo" height="42" width="42" align="right"/>',
  "End"
);

Upvotes: 1

Views: 225

Answers (1)

J&#250;lio Campos
J&#250;lio Campos

Reputation: 407

It is not related to office.js.

Word Online does not show header by default. You need to edit the header or footer to see your image.

You will not see pages breaks or anything like this.

Upvotes: 1

Related Questions