diff --git a/src/styles/table.pcss b/src/styles/table.pcss index 2bdf249..62173b6 100644 --- a/src/styles/table.pcss +++ b/src/styles/table.pcss @@ -10,6 +10,7 @@ var(--toolbox-icon-size) + 2 * var(--toolbox-padding) ); + white-space: pre-wrap; border-left: 0px; position: relative; height: 100%; diff --git a/src/table.js b/src/table.js index 70bc49f..bad90c5 100644 --- a/src/table.js +++ b/src/table.js @@ -935,7 +935,7 @@ export default class Table { continue; } - data.push(cells.map(cell => cell.innerHTML)); + data.push(cells.map(cell => cell.innerText)); } return data;