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

Async Macro should have a 'Content' field in the WYSIWYG

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 11.7-rc-1, 11.6.1
    • 11.6
    • Rendering - Async
    • None
    • Windows 10 Pro 64 bit, Firefox 68, using a local instance of XWiki 11.6 on Oracle 12c.
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      1. Edit a page with CKEditor
      2. Click 'XWiki Macro'
      3. Select 'Async macro'
      4. Type some code (for example) as content

      EXPECTED RESULTS

      The content can be inserted in the Macro's UI.

      ACTUAL RESULTS

      There is no 'Content' field in the UI.

      However, if the content is inserted via wiki syntax, it's saved. E.g.: 

      {{async context="user"}}
      {{velocity}}
      Script that need the current user $xcontext.userReference
      {{/velocity}}
      {{/async}}

       

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: