How to display all macro options in the macro placeholder

In Confluence 4.X is there a way to display all macro options in the editor?

For instance I am using the Page Tree macro with several options set, but it shows root and excerpt (partially) only (see screenshot).

Thank you,

1 answer

1 accepted

1 vote
Paul Curren Atlassian Team Jul 05, 2012

I'm afraid the number of characters permitted is fixed at a set length. There is no option for showing the full set.

If you are happy "hacking" JAR files you can do the following.

1) Extract the confluence-tinymce-plugin jar from confluence-bundled-plugins.zip

2) Extract all files from the JAR

3) Open the atlassian-plugin.xml and look for this entry -

<servlet name="Macro Placeholder Servlet" key="macro-placeholder" class="com.atlassian.confluence.tinymceplugin.placeholder.MacroPlaceholderServlet">
        <description>Generates a placeholder image for macros</description>
        <url-pattern>/confluence/placeholder/macro</url-pattern>
        <init-param>
            <param-name>maxParameterTextLength</param-name>
            <param-value>30</param-value>
        </init-param>
        <init-param>
            <param-name>placeholderType</param-name>
            <param-value>inline</param-value>
        </init-param>
    </servlet>

You can set the maxParameterTextLength to a larger size.

4) Zip the extracted files back into the tinymce jar.

5) Install this "hacked" jar into Confluence.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

253 views 11 10
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