|| AA || | bb |
<table class="confluenceTable"><tbody><tr><th class="confluenceTh"><p>AA</p></th></tr><tr><td class="confluenceTd"><p>bb</p></td></tr></tbody></table>
Another question is how to you edit the page to remove the extra <p> that are inserted?
This seems like a bug.
Could someone from Atlassian comment on this behavior?
This is a kludge. It doesn't prevent Confluence from adding the <p>s, but it does prevent them from showing on your pages:
If you already have a stylesheet you use add to it:
.noP p { display:none; }
If you don't have a stylesheet, add the following at the top of each page where you have the issue:
{style} .noP p { display:none; } {style}
Then wrap your tables with a div of class noP like so,
{div:class=noP} {table} … {table} {div}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could try doing it client-side :)
Something like this:
AJS.$('.confluenceTh > p,.confluenceTd > p').children().unwrap();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I didn't quite get what you meant by native table insert. Likely that won't work :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, I just mean using insert table natively in the confluence editor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i am also facing the same problem i have few user macros i want to fetch the contents between thoes where the </p> tags get added its not unexpected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.