问题
I'm trying to export a document in html and import it again (for the purpose of the test I don't even edit the file). After exporting, I can see that the page break is kept in the html :
<hr style="page-break-before:always;display:none;">
But after I import this file into google docs, and do the conversion, the page break is not materialized in the document. I can only see a line where the pagebreak should be. Is there is a way to make it working ?
PS: I'm using the python gdata v3 API.
回答1:
I've also been looking for this. It seems this is as easy as adding:
<hr class="pb">
Credit: https://productforums.google.com/forum/#!topic/docs/fqLmAJkPpTs
来源:https://stackoverflow.com/questions/10418357/how-to-import-a-page-break-from-html-to-google-docs