parseTableCellElement function
Implementation
TableCellElement parseTableCellElement(
dom.Element element,
List<StyledElement> children,
) {
final cell = TableCellElement(
name: element.localName!,
elementId: element.id,
elementClasses: element.classes.toList(),
children: children,
node: element,
style: Style(),
);
if (element.localName == "th") {
cell.style = Style(
fontWeight: FontWeight.bold,
);
}
return cell;
}