Is it possible to initialize tablesaw using a JS selector rather than a data attribute? For example with jQuery:
$('.blog-body table').tablesaw();
I've got a lot of tables that exist inside WYSIWYG fields in my CMS and doing a back-end find & replace to add data attributes to table elements seems more laborious and prone to bugs than just using a jQuery selector.
Is it possible to initialize tablesaw using a JS selector rather than a data attribute? For example with jQuery:
$('.blog-body table').tablesaw();
I've got a lot of tables that exist inside WYSIWYG fields in my CMS and doing a back-end find & replace to add data attributes to table elements seems more laborious and prone to bugs than just using a jQuery selector.