Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.s urli1 +XWiki.VincentMassol
- ReleaseNotes.Code.ChangesClass[0]
-
- summary
-
... ... @@ -1,11 +1,10 @@ 1 - You can now insert [[the content of awikimacro>>Documentation.DevGuide.Tutorials.WritingMacros.WikiMacroTutorial||anchor="HContent"]] by using a dedicated macro:1 +When developing a wiki macro, you can now insert [[the content of that macro>>Documentation.DevGuide.Tutorials.WritingMacros.WikiMacroTutorial||anchor="HContent"]] by using a dedicated macro: 2 2 3 3 {{code language="none"}} 4 4 {{wikimacrocontent/}} 5 5 {{/code}} 6 6 7 -The new way of inserting the wikimacro content makes it by default editable directly in [[the WYSIWYG editor>>https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor%20Integration/#HWikiMacros]]. 8 -If you want to test it, you can for example create the following WikiMacro and try it: 7 +This new way of inserting the wiki macro content makes it by default editable directly in [[the WYSIWYG editor>>https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor%20Integration/#HWikiMacros]]. If you want to test it, you can, for example, create the following wiki macro and try it: 9 9 10 10 {{code language="none"}} 11 11 {{velocity}} ... ... @@ -13,6 +13,6 @@ 13 13 {{wikimacrocontent/}} 14 14 {{/box}} 15 15 16 -Th iscontent's size is:15 +The content's size is $xcontext.macro.content.length() characters. 17 17 {{/velocity}} 18 18 {{/code}}