Skip to content

Wrong Table width when preview file & uploading Google Docs #216

Description

@huynhtansi

Hi, dolanmiu. Thank you for awesome library.

I has a problem when creating a full-width table with code:

const table = doc.createTable(3, headers.length) table.setWidth(WidthType.PERCENTAGE, '100%')

It works fine when open in Microsoft Word, but wrong width when preview in Google Docs or Finder (I'm using MacOS).

Microsoft Word:

screen shot 2018-12-07 at 5 12 03 pm

Google Docs:

screen shot 2018-12-07 at 4 58 57 pm

Finder Preview:

screen shot 2018-12-07 at 5 12 29 pm

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions