Table inside of a macro

Is there a way to copy a table that is inside of another macro (example: column macro) without copying the surrounding macro?

3 answers

1 accepted

0 votes
Accepted answer

You should be able to highlight the table with your mouse - i.e. click and drag until you have selected the whole table and then copy it to your clipboard and paste it where ever you like :)

Working On a Mac with Safari Browser

The table is nested in column macro

The column macro is nested in section macro

I highlight only the table then press <command><c> to copy

When I paste what I have copied it pastes the table and the two surrounding macros, column and section even though I have only copied the table.

I just want the table not the two surrounding macros.

Tried it on Firefox and it works as you have described it previously. Seems to be Safari related.

Looks like you found a bug, Craig. Specifically in Safari. I've raised this with our Development Team. I could not reproduce this in Chrome of Firefox.

In the meantime, until this bug is fixed, you might like to use the built-in Web Inspector that comes with Safari (or similar "Firebug-like" extension) to delve under the hood of the rich text editor, select (just) the corresponding HTML table element (with class attribute value "confluenceTable"), copy it to the clipboard, and paste it wherever you want.

I've tried this in Safari 5.1.7 on Windows with Confluence 4.2:

  1. Show the Develop menu in the Safari menu bar (if you haven't already): Preferences > Advanced > Show Develop menu in menu bar.
  2. Select Develop > Show Web Inspector.
  3. Use the "magnifying glass" button (tooltip: "Select an element in the page to inspect it.") to select the table, or one of its descendant elements. (This is to display the roughly appropriate section of HTML in the HTML source view displayed by the Web Inspector, as a precursor to precisely selecting the table element in the following step. In practice, I have not been able to select the table using the magnifying glass; I select the first th, or first td, element.)
  4. In the HTML source view displayed by the Web Inspector, right-click the table start tag, and then click "Copy as HTML".
  5. An unfortunate kludge (to get the content into the appropriate internal clipboard format, so that it does not paste as HTML source code): open the Snippet Editor (Develop > Show Snippet Editor), and paste the HTML in the top pane. Then select the rendered content (the table) shown in the bottom pane, and copy it to the clipboard.
  6. In the rich text editor, paste the table where you want it.

Firebug in Firefox doesn't involve that kludge in step 5, so I thought I'd try "Firebug Lite" in Safari, but the "Inspect" button didn't work for me. I'm moving on.

I've previously added some related comments (about "under the covers" editing in the rich text editor) to the Confluence 4 editor - Customer Feedback page that you might find interesting.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

791 views 33 5
Join discussion

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