table-plus losing column width between edits

confluence 4.3.7

table-plus 5.3.0

Mac OS X 10.6.7

Code example:-

{table-plus:columnAttributes=style="width:40%;",style=width:40%;"}
|| A || B ||
 | 1 | 2 |
{table-plus}

Hi,

I have a recurring problem with above configuration/code. I have a page where i create 2 identical tables using the code example above. When i first preview->save->view everything is fine. Columns retain the correct sizing. However when i go back and edit the cell the contents in either one of the tables the affected table loses its column widths and revert back to sizing to fit the content.

 

1 answer

If you are trying to make the table wider, use {table-plus:width=80%}. The column width in % is relative to the table width.

The issue is that when initially created the table works perfectly, but when i go back and edit the text in either of the two columns, then save, then view it all the column width information is ignored even though when you check it is still set within the configuration popup. The problem only occurs in the table where the cell content has been edited. The second, identical table (a straight copy and paste) is perfect.

I saw that, but, I couldn't reproduce the behavior you described. I used insert wiki markup on the example you provided. Open an issue and attach a picture of good and bad result. Also the browser source at least with the table in it. Thanks.

Hi, more commentry and screen grabs added to the JIRA. On the fixed pixel problem breaking up the text with spaces allows it to word wrap better and then column widths work fine. The proportional case still has the problem.

http://russellillsley.com/

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

357 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you