How to wrap text around images on Google Docs API?

1.4k Views Asked by At

I am uploading html document to Google Docs thru API. All images are set inline, but I prefer fixed (text wraps around). Is there a way to mark it on html, so that imported document has each image correct way aligned or is there a way to set image wrapping on API before uploading?

For a reference this is what I want, but doing it automatically:

https://drive.googleblog.com/2010/07/tips-tricks-using-images-in-google.html

1

There are 1 best solutions below

0
On

I think something like this

<body style="background-image: url('test3.jpg'); background-repeat: no-repeat; background-position: center; background-attachment: scroll;"> color name <br><br><br></body>

<body style="background-image: url('test3.jpg'); background-repeat: no-repeat; background-position: center; background-attachment: fixed;"> color name <br><br><br></body>

see background-attachment: fixed