|
8 | 8 | </plugin-info> |
9 | 9 |
|
10 | 10 | <!-- add our i18n resource --> |
11 | | - <resource type="i18n" name="i18n" location="WebVideo"/> |
| 11 | + <resource type="i18n" name="i18n" location="previewer-context"/> |
12 | 12 | <resource key="images" name="images/" type="download" location="/images"/> |
13 | 13 |
|
14 | | - <!-- add our web resources --> |
15 | 14 | <web-resource key="resources" name="Web Resources"> |
16 | 15 | <dependency>com.atlassian.auiplugin:ajs</dependency> |
17 | 16 | <resource type="download" name="images/" location="/images"/> |
18 | | - <resource type="download" name="styles.css" location="/css/styles.css"/> |
| 17 | + <resource type="download" name="styles.css" location="/css/styles.css"> |
| 18 | + <property key="content-type" value="text/css"/> |
| 19 | + </resource> |
19 | 20 | <resource type="download" name="web-components.min.js" location="/js/web-components.min.js"/> |
20 | | - <context>WebVideo</context> |
| 21 | + <context>previewer-context</context> |
21 | 22 | </web-resource> |
22 | | - <xhtml-macro name="stoplight-elements-previewer" class="com.validate_lab.confluence.stoplightelements_previewer.macro.StoplightElementsPreviewer" key='webvideo' icon="/download/resources/${atlassian.plugin.key}/images/Icon.png" > |
23 | | - <description key="stoplight-elements-previewer.macro.desc"/> |
| 23 | + <xhtml-macro name="previewer-workspace" class="com.validate_lab.confluence.stoplightelements_previewer.macro.StoplightElementsPreviewer" key='previewer-workspace' icon="/download/resources/${atlassian.plugin.key}/images/Icon.png" > |
24 | 24 | <category name="media" /> |
25 | 25 | <parameters> |
26 | 26 | <parameter name="link" type="url" required="true" > |
| 27 | + <option key="showValueInPlaceholder" value="true"/> |
| 28 | + </parameter> |
| 29 | + <parameter name="hideInternal" type="boolean" default="false" > |
| 30 | + <option key="showValueInPlaceholder" value="false"/> |
| 31 | + </parameter> |
| 32 | + <parameter name="hideTryIt" type="boolean" default="false" > |
| 33 | + <option key="showValueInPlaceholder" value="false"/> |
| 34 | + </parameter> |
| 35 | + <parameter name="hideTryItPanel" type="boolean" default="false" > |
| 36 | + <option key="showValueInPlaceholder" value="false"/> |
| 37 | + </parameter> |
| 38 | + <parameter name="hideSchemas" type="boolean" default="false" > |
| 39 | + <option key="showValueInPlaceholder" value="false"/> |
| 40 | + </parameter> |
| 41 | + <parameter name="hideExport" type="boolean" default="false" > |
27 | 42 | <option key="showValueInPlaceholder" value="false"/> |
28 | 43 | </parameter> |
29 | 44 | </parameters> |
|
0 commit comments