• In the WordPress block editor I added the “tablesorter” class as an additional CSS class for my table. But WordPress is adding a <figure> tag outside the <table> tag and applying the “tablesorter” class to the <figure> tag, so the plugin doesn’t work.

    Can you please update the plugin to account for this WordPress behaviour, or can you advise how I can make this work?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve got the same issue. If I add class=”table-sorter” to the <table> tag WordPress removes it as part of “block recovery”.

    i just ignore “block recovery”
    it works as long as the html as shown in code editor is copacetic;-)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Doesn’t work because tablesorter class applied to outer figure tag’ is closed to new replies.