Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't find "status-macro" sources | Add custom control (input box) to macro property panel.

Dirk Brutscher
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.
June 24, 2019

Hi,

can anybody give me a hint, where to find the status macro (com.atlassian.confluence.plugins.status-macro) within in the Confluence sources?

I mean this one...

Screenshot2458.png

NOT the older version (without the edit box), which ich available here: https://bitbucket.org/rthomas/confluence-status-macro/src/default

Background: I want to implement a macro with a custom property panel containing a input box like the current status macro does, hence I like to take a look at the sources because online I can only find rare information about adding something else than an additional button to the property panel. I found this...

https://community.atlassian.com/t5/Confluence-questions/Can-I-add-custom-controls-into-Confluence-Addon-PropertyPanel/qaq-p/601666

...but I'm not sure whether thats the best way. The status macro seems to define a special formatted button which changes onclick to a input box or something like that.

UPDATE:

In the meantime I found "~/confluence-source/confluence-project/confluence-test/atlassian-confluence-pageobjects/src/main/java/com/atlassian/confluence/pageobjects/component/macro/StatusMacro.java", I will check this...

UPDATE 2:

"status-editor.js" within "status-macro-3.0.4....jar" seems to contain all relevant information.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events