From 8ee471cc6700298a6bf538400b9926e5b7f3c505 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Mon, 15 Jul 2013 19:51:25 -0300 Subject: [PATCH] [macro-support-review] Documenting macro configurations --- lib/noosfero/plugin/macro.rb | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/noosfero/plugin/macro.rb b/lib/noosfero/plugin/macro.rb index 13a1868..e190575 100644 --- a/lib/noosfero/plugin/macro.rb +++ b/lib/noosfero/plugin/macro.rb @@ -3,8 +3,20 @@ class Noosfero::Plugin::Macro attr_accessor :context class << self + # Options + # + # [:icon_path] Determines the path to icon to be used in the button on + # tinymce + # [:title] Former name of the macro + # [:skip_dialog] Skip configuration dialog on tinymce + # [:js_files] Javascripts that should be included on tinymce + # [:css_files Css files that should be included on tinymce + # [:generator] Javascript code that will be loaded when the macro button + # is clicked on tinymce + # [:params] Hash of macro fields that the user might configure + # def configuration - # {:generator => ''} + {} end def plugin -- libgit2 0.21.2