You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#1410
When an excel files has a conditional format defined, and the conditional formatting specifically has font styles to it, if you read it into exceljs and write it back with no changes, excel finds the styles corrupt and removes all styles
node -e "const Excel = require('exceljs'); var workbook = new Excel.Workbook(); var data = workbook.xlsx.readFile('./template.xlsx').then(()=>workbook.xlsx.writeFile('./test.xlsx').then(()=>console.log('Finished writing')))"
The expected behaviour:
The file styles should not break if a conditional format has font styles.