Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18063

Allow wiki macros to change their macro content during their execution

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 12.6.4
    • Rendering - WikiMacro
    • None
    • Unknown

    Description

      When being displayed, a wiki macro could be able to change its own macro content in the document in which it is used.

      While this feature may look strange at first glance, it can actually be very interesting if we consider the case of documents being edited through WYSIWYG : when starting to edit a document in WYSIWYG, XWiki will render the document in HTML (and thus, will execute the macros of the document). A macro can then wait for its execution in such context, and pre-load its macro content with some content coming from another page of the wiki, or anywhere else. Then, through the wikimacrocontent macro, this pre-loaded content becomes editable in WYSIWYG mode transparently for the user.

      Attachments

        Issue Links

          Activity

            People

              caubin Clément Aubin
              caubin Clément Aubin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: