Changes for page Writing XWiki Rendering Macros in wiki pages
Last modified by Simon Urli on 2023/10/10
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.luc aa1 +XWiki.mleduc - Content
-
... ... @@ -148,10 +148,8 @@ 148 148 149 149 = Bindings = 150 150 151 - TheusualXWiki[[scriptingcontextbindings>>doc:extensions:Extension.ScriptMacro||anchor="#HBindings"]]are available in the scripts of the wiki macros, with the mention that contextual variables (such as ##$doc##) will point to the XWiki document (page) in which the macro is called, not to the XWiki document containing the objects that define the macro.This makes it easy to write macros that apply to the page where they're called.151 +See all available bindings in [[the reference documentation page>>doc:extensions:Extension.WikiMacroStore.WebHome||anchor="HBindings"]]. 152 152 153 -Then, specific bindings for the wiki macro context are available, see [[the reference documentation page>>doc:extensions:Extension.WikiMacroStore.WebHome||anchor="HBindings"]]. 154 - 155 155 = WYSIWYG Access = 156 156 157 157 A wiki macros is treated just like any other rendering macro in the system. As such, the moment you save your wiki macro it will be available to the users through the WYSIWYG editor's **Insert Macro** dialog box: