Commits

Theresa Henze committed 208497a Draft

Some simplifications for the tutorial part in the wiki

  • Participants
  • Parent commits 08aca6a

Comments (0)

Files changed (3)

 
 Tutorial and code samples to manipulate the creation and/or editing of Confluence macros.
 
+The tutorial covers the following issues:
 
-## Editor
+* [Editor](https://bitbucket.org/resah/confluence-macro-tutorial/wiki/Home#markdown-header-editor)
+ * [Formatting](https://bitbucket.org/resah/confluence-macro-tutorial/wiki/Home#markdown-header-formatting)
+ * [Insert Menu](https://bitbucket.org/resah/confluence-macro-tutorial/wiki/Home#markdown-header-insert-menu)
+* [Macros](https://bitbucket.org/resah/confluence-macro-tutorial/wiki/Home#markdown-header-macros)
+ * [Categories](https://bitbucket.org/resah/confluence-macro-tutorial/wiki/Home#markdown-header-categories)
+ * [Insert with custom GUI](https://bitbucket.org/resah/confluence-macro-tutorial/wiki/Home#markdown-header-insert-with-custom-gui)
+ * [Macro Options](https://bitbucket.org/resah/confluence-macro-tutorial/wiki/Home#markdown-header-macro-options)
+ * [Macro Parameters](https://bitbucket.org/resah/confluence-macro-tutorial/wiki/Home#markdown-header-macro-parameters)
+ * [Types](https://bitbucket.org/resah/confluence-macro-tutorial/wiki/Home#markdown-header-types)
+ * [Name/Value presentation](https://bitbucket.org/resah/confluence-macro-tutorial/wiki/Home#markdown-header-namevalue-presentation)
+ * [Hidden Parameters](https://bitbucket.org/resah/confluence-macro-tutorial/wiki/Home#markdown-header-hidden-parameters)
+ * [Image place holder](https://bitbucket.org/resah/confluence-macro-tutorial/wiki/Home#markdown-header-image-place-holder)
+ * [I18N](https://bitbucket.org/resah/confluence-macro-tutorial/wiki/Home#markdown-header-i18n)
 
-Possibilities to manipulate the editor and its items.
 
-### Formatting
-
-WIP
-
-
-### Insert Menu
-
-Done
-Note: Set icon with CSS instead with web-item icon
-
-
-## Macros
-
-TODO: Icon, documentationURL, categories
-https://developer.atlassian.com/display/CONFDEV/Including+Information+in+your+Macro+for+the+Macro+Browser
-
-### Insert with custom GUI
-
-Done
-
-
-### Macro Options
-
-Done
-
-
-### Macro Parameters
-
-#### Types
-
-TODO: single values, multiple, 
-
-
-#### Name/Value presentation
-
-Done
-
-
-#### Hidden Parameters
-
-TODO
-https://developer.atlassian.com/display/CONFDEV/Including+Information+in+your+Macro+for+the+Macro+Browser
-
-
-### Image place holder
-
-TODO
-
-
-## I18N
-
-TODO
-
-Description for the macro (Will be displayed in macro browser list)
-    [PLUGINKEY].[MACROKEY].desc = macro description
-Name for the macro (Will be displayed in macro browser list)
-    [PLUGINKEY].[MACROKEY].label = macro name
-Description for macro body
-    [PLUGINKEY].[MACROKEY].body.desc = macro body description
-Name for the macro body
-    [PLUGINKEY].[MACROKEY].body.label = macro body name 
-Description for the macro parameter (Will be displayed in macro browser in macro view)
-    [PLUGINKEY].[MACROKEY].param.[PARAMETER_NAME].desc = macro parameter description
-Name for the macro parameter (Will be displayed in macro browser in macro view)
-   [PLUGINKEY].[MACROKEY].param.[PARAMETER_NAME].label = macro parameter name
-
-
-
-# Helpful Links #
+# Helpful Links
 
 * [https://confluence.atlassian.com/pages/viewpage.action?pageId=225116740](https://confluence.atlassian.com/pages/viewpage.action?pageId=225116740)
 

File src/main/resources/atlassian-plugin.xml

 		<link linkId="box" />
 	</web-item>
 
-	<web-resource name="Box Resource - handle macro with JS"
-		key="macroeditor-box-resources">
-		<description>Box macro related JS resource</description>
+	<web-resource name="Resources - handle macros with JS"
+		key="macroeditor-resources">
+		<description>Macro related JS resources</description>
 		<context>editor</context>
 		
 		<!-- JS to set properties S,M,L on box macro -->

File src/main/resources/css/macromagic.css

 #insert-menu .aui-dropdown #box .icon {
-	background-image: url(images/16x16_package.png);
-	background-position: left center;
-	background-repeat: no-repeat;
+	background: url(images/16x16_package.png) no-repeat scroll left center transparent;
 }