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 to display all macro options in the macro placeholder

Adolfo Casari Jun 26, 2012

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
Answer accepted
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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

942 views 0 19
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