I was able to change background color of TD of a table in legacy pages, but not in new pages (the new style), it seems confluence strips the style of a TD when after I submit it through rest api
We're on the same page here.
I read somewhere about that you need to iterate throughout the HTML of it, and make changes there.
<p>Testing page</p><table class=\"wrapped\"> <colgroup> <col /><col /><col /></colgroup> <tbody> <tr> <th>Header 1</th> <th>Header 2</th> <th>Header 3</th> </tr> <tr><td class=\"highlight-grey\" data-highlight-colour=\"grey\"> <span style=\"color: rgb(255,255,255);\"> Row 1A </span></td> <td class=\"highlight-red\" data-highlight-colour=\"red\">Row 1B</td><td class=\"highlight-green\" data-highlight-colour=\"green\">Row 1C</td></tr> </tbody></table> <p class=\"auto-cursor-target\"> <br /></p>
But still haven't got there, if you manage to do something about it, let me know, maybe together we can achieve something.
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events