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
Accepted answer
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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,134 views 18 14
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