diff --git a/docx-wasm/js/index.ts b/docx-wasm/js/index.ts index dd482d5..f87f001 100644 --- a/docx-wasm/js/index.ts +++ b/docx-wasm/js/index.ts @@ -333,7 +333,7 @@ export class Docx { if (t.property.cellMargins) { const { top, right, bottom, left } = t.property.cellMargins; - table = table.set_margins(top, right, bottom, left); + table = table.set_cell_margins(top, right, bottom, left); } switch (t.property.align) { diff --git a/docx-wasm/package.json b/docx-wasm/package.json index d9ea0fb..8b43e21 100644 --- a/docx-wasm/package.json +++ b/docx-wasm/package.json @@ -1,6 +1,6 @@ { "name": "docx-wasm", - "version": "0.0.98", + "version": "0.0.100", "main": "dist/node/index.js", "browser": "dist/web/index.js", "author": "bokuweb ",