linways/table-to-excel

"Cannot merge already merged cells"

gavinhungry opened this issue · 2 comments

If I attempt to convert a table with multiple rows that contain colspan cells, I get an error:

Cannot merge already merged cells

Here's an example on CodePen (you can see the error in the browser console):
https://codepen.io/anon/pen/dwKOmr

This previously worked (prior to v1.0.0).

I forgot to handle some conditions while merging.
Merging is handled differently in ExcelJS.
Working on the fix

@rohithb,

Thanks! Your fix works for me.