Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to run HTML macro script in edit mode?

So for certain Confluence pages with a template table, I want to create an HTML macro script that allows users to click a button and autopopulate cells in the template table with data retrieved from an API. The issue is that I want them to be able to do this inside the edit mode, so that they click the button and the changes are saved to the Confluence page.

The issue I'm running into is that the HTML macro doesn't seem to "run" while in edit mode, so I cannot get the script to run in edit mode and therefore I can't save any changes the script makes to the table.

Is there any way to get around this? Is it at all possible to get the macro to run in edit mode?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

Presenter Mode for Confluence is here 🖥 👩‍💻

👋  Hello Community!  My name is Stephanie Zhang, and I’m a product manager on the Confluence cloud team. Today, I’m excited to announce the rollout of  Presenter Mode : a ...

80,655 views 127 304
Read article

Community Events

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

Events near you