From 3d3334554936a75ce2cc85fedcc02a55b7a8991b Mon Sep 17 00:00:00 2001 From: Emmanuel Hadoux Date: Wed, 31 Jan 2024 17:06:46 +0000 Subject: [PATCH] fix: add selection element back to content only --- src/Table/Cell.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Table/Cell.ts b/src/Table/Cell.ts index 6f3de58..f2258b6 100644 --- a/src/Table/Cell.ts +++ b/src/Table/Cell.ts @@ -41,6 +41,9 @@ export class Cell { const w = new Word(b); this.content.push(w); t.push(w.text); + } else if (b?.BlockType === 'SELECTION_ELEMENT') { + const se = new SelectionElement(b); + this.content.push(se); } } }