Coder Social home page Coder Social logo

Combine cells bug about tablepress HOT 8 CLOSED

tablepress avatar tablepress commented on July 19, 2024
Combine cells bug

from tablepress.

Comments (8)

TobiasBg avatar TobiasBg commented on July 19, 2024

Thanks for your report! This is really strange, and I can not reproduce this on my test sites.
Could you please check if the colspan is in the HTML code when using the "View Source" feature in Chrome? That might be different than what you see in the Developer Tools.
Can you maybepost a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

from tablepress.

germanny avatar germanny commented on July 19, 2024

Hi!

The project isn't live yet, but when it is I can send you a link to a page with the issue. Here's what the source looks like: http://cloud.jen.gs/WPzb

Thanks!

from tablepress.

TobiasBg avatar TobiasBg commented on July 19, 2024

Thanks for the link! The colspan attributes seem to be missing from that table, indeed...
Just to be sure: Does this also happen with all other plugins deactivated and with a WP default theme?

Can you maybe post a link to the JSON export (or send it to me via email) that TablePress exports for this table? I could then import that on my test sites to see if I can reproduce the issue there.

from tablepress.

TobiasBg avatar TobiasBg commented on July 19, 2024

Can you shed some more light on this, @germanny? I still can't reproduce this and would like to investigate this on an export, if possible, as mentioned above. Thanks!

from tablepress.

germanny avatar germanny commented on July 19, 2024

Here's a link to a live page: http://www.medicalassistantcertification.org/states/utah/
Here's a link to the JSON export: http://cloud.jen.gs/WdW4.

Thanks!

from tablepress.

TobiasBg avatar TobiasBg commented on July 19, 2024

Thanks for those, @germanny!
Now, I can still not reproduce this with that JSON export, but I found something else that is very interesting (and that I should have spotted from one of your earlier links, sorry...):
The table HTML on that page is missing all class attributes on the <td> and <th> elements as well. That indicates that something is stripping those. Are you maybe using some plugin to "clean" HTML code or are you maybe using a plugin that uses one of the plugin filter hooks that TablePress offers?

from tablepress.

germanny avatar germanny commented on July 19, 2024

Aha, we are using a Tablepress extension plugin to add schema data to some tables. I will talk to the extension author about this then.

Thanks a million!!

from tablepress.

TobiasBg avatar TobiasBg commented on July 19, 2024

That could indeed be causing this then. Most likely that's not taking care of something like returning the HTML tag attributes properly.
Good to hear that you found this!

from tablepress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.