Last modified by Simon Urli on 2023/10/10

<
From version < 99.1 >
edited by Simon Urli
on 2019/05/20
To version < 100.1 >
edited by Simon Urli
on 2019/05/20
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -63,8 +63,10 @@
63 63  
64 64  == Content ==
65 65  
66 -Starting with {{code}}XWiki 11.4RC1{{/code}} it is possible to insert the content of the wiki macro by using a dedicated macro:
66 +Starting with {{code}}XWiki 11.4RC1{{/code}} there is two ways to insert the content of the wiki macro.
67 67  
68 +The easiest way is to use a dedicated macro in the body of the wikimacro:
69 +
68 68  {{code language="none"}}
69 69  {{wikimacrocontent/}}
70 70  {{/code}}
... ... @@ -71,7 +71,7 @@
71 71  
72 72  Note that by default this makes the content of the macro directly editable in [[the WYSIWYG editor>>https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor%20Integration/#HWikiMacros]].
73 73  
74 -If macro content is used, it can be shown by executing the following velocity code in the macro body:
76 +The older way to insert the content is by executing the following velocity code in the macro body:
75 75  
76 76  {{code language="none"}}
77 77  {{velocity}}$xcontext.macro.content{{/velocity}}

Get Connected