JohnTendik/jtrt-tables

table border missing after image are loaded in table

Opened this issue · 10 comments

Hi,

Could you help me to solve this issue as when i add image in the table all border and table color are missing.

Do you mean that when you add an image, all of the custom background colors and borders disappear? Interesting, do you have a console error log or possibly steps to reproduce this bug?

Thanks
JT

I wanted to post about this issue and saw that someone else has already raised it here. John, please do something about this. A stitch in time.....

To reproduce the problem, simply create a new table. Add some text and then go on to add at least an image in one of the cells. Save and try to view the table. You will notice that it displays without borders. However, when you remove the image and left only the text in the table, the borders appear.

Thank you.

I will take a look at this tonight. I apologize for lack of updates, time has been a precious resource lately :D

@JohnTendik Thanks a lot bro.

@Seamate I am unable to reproduce this issue, can you provide some more info if possible?

I tried the following steps to try and reproduce:

  1. create new table
  2. add borders
  3. add text
  4. add image
  5. save

As @mtba85 stated, it could be some other plugin interfering with the styles.

Interestingly, I also discovered that the borders reappeared suddenly. I don't know which plugin caused the conflict.
However, if I try to INSERT images, it gets stuck on "Doing calculations. Please wait.." Hence, what I do to add images to the table is to copy the image's url and paste it in the table while wrapping it in the tag.

Please see if you can reproduce this problem. It could be linked to the plugin dispute.
Thank you, John, for your time.

@Seamate good to hear the borders are back, it sounds like another plugin is interfering with the border styles. I technically could add !important on all of my styles haha but I'm pretty sure everyone would hate me.

As for the image upload issue, I just released an update that fixed the broken image uploader. Please let me know if you still run into issues after the update :)

Thanks

Thanks bro. I didn't know an update would be released so quickly. I wanted to ask if you could make it possible to search for tables using the table shortcode. It is much easier to locate tables that way if they run into hundreds or thousands. At the moment, it is only possible to search with the title of the table.
Please consider this in future releases.

Thanks for fixing the image insert issue. Also, the tables area jumping issue seems to have been fixed with the update. Very cool