• Community
  • Products
  • Confluence
  • Questions
  • Is there any possibility to switch the type (for example from warning to info) on an existing block without creating a new one and copying the content of the old one?

Is there any possibility to switch the type (for example from warning to info) on an existing block without creating a new one and copying the content of the old one?

This question is in reference to Atlassian Documentation: Info, Tip, Note, and Warning Macros

Is there any possibility to switch the type (for example from warning to info) on an existing block without creating a new one and copying the content of the old one?

1 answer

1 accepted

This widget could not be displayed.
Stephen Deutsch Community Champion Nov 06, 2015

Yes, it is very possible.  You have two options:

  1. Click on "Edit" to get to the macro options, click the "Select Macro" link in the bottom left corner, choose the new macro, and you should now have the same text but in the new macro.
  2. If you have the Confluence Source Editor installed, then you can update all the macros on a page in one go.  Open the source code (by clicking the <> button), search for something like: ac:name="warning" (for the warning macro) and replace with: ac:name="info" (for the info macro).  Then simply apply the changes and you should be good to go.

 

Great thank you! Absolutely didn't see the "Select Macro" link. As for the second option, there's also an ac:macro-id which is different. I guess that one should be adjusted as well.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

208 views 2 4
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