Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I choose which macros appear in the + dropdown?

We are on Confluence Server 7.2 and we recently started using the "Excerpt" macro more frequently. 

When adding a macro to a page, we use the + button, which gives a long list of macros, and the additional option for "Other Macros."

I would like to be able to add the macro "Excerpt" onto the dropdown (potentially replacing one of the others, if necessary), thus removing the need to open the macro browser. Is that possible?

1 answer

1 accepted

0 votes
Answer accepted
Bill Bailey Community Leader Jun 02, 2021

An oft requested feature. The only ways I know of that it can be done are via Javascript or writing your own plugin to add it to the menu, something along the lines of this tutorial:

https://developer.atlassian.com/server/confluence/adding-an-option-to-the-editor-insert-menu/ 

I have used the later method to add some user macros to the insert menu.

Thank you for the response. That's a great, detailed response that could provide an avenue to our solution.

Reading through the documentation, that looks to be a way to add an icon to the Confluence page editing menu, is that correct? 

That may be the only way to achieve the effect we're trying to get, and it will definitely work (based on my reading of the link you provided). I was hoping for a lighter-weight solution to modify the specific macro menu, instead of the editor.

I apologize if I overlooked this capability in the link above (and for asking a repeated question!). Thank you for your time and assistance-

Bill Bailey Community Leader Jun 03, 2021

There are limited attach points. You specify them in the web-item module (setcion attribute), for example:

 <web-item key="editor-figuretitle" name="Figure Title" section="system.editor.featured.macros.default" weight="13">
<description>Editor Insert menu link.</description>
<label key="editor-figuretitle.label"/>
<link linkId="figure_title"/>
</web-item>

  But yes, a feature to be able to promote a macro to the featured list would be great, and has been asked for for years (soon to be 10). ;-) CONFSERVER-23368 

Extraordinary help, thank you. Added my vote and watched that link!

Suggest an answer

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

Miss the Confluence demos at Team 21? Watch them here!

Phew, Atlassian Team 2021 blew by. With dozens of demos and a handful of keynotes, you may have missed some of the awesome Confluence Cloud sessions. Don't' worry, you can watch them all here or on Y...

349 views 2 6
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