Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

User Macro Module Body Parameter

James Star
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 7, 2012

Hello,

Developing a User Macro Module with Body Parameter. Settings I have so far:

public boolean hasBody()
    {
        return true;
    }

    public RenderMode getBodyRenderMode()
    {
        return RenderMode.ALL;
    }

    @Override
    public BodyType getBodyType()
    {
        return BodyType.PLAIN_TEXT;
    }

    @Override
    public OutputType getOutputType()
    {
        return OutputType.BLOCK;
    }

Through the RTE (Rich Text Editor), I would like to insert other User Macros. At the moment it seems to only accept simple text. Which of the above parameters requires changing/updating?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
James Star
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 7, 2012

The answer:

@Override

public BodyType getBodyType()

{

return BodyType.RICH_TEXT;

}

TAGS
AUG Leaders

Atlassian Community Events