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

Macro content doesn't have a descriptor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.8.1, 1.9 M1
    • 1.8 RC1
    • {Unused} Rendering 2.0
    • None
    • any
    • macro content descriptor
    • Unit

    Description

      We have a descriptor for macro parameters and for the macro itself. An additional descriptor for the content might be useful. It could contain information like:

      • is the content mandatory? (same as for any parameter)
      • is the content allowed? (some macros might not accept content, like toc macro, and thus the WYSIWYG shouldn't allow the user to edit the content)
      • what's the purpose of the content? (we have a macro description but it doesn't necessarily explain what should the user write inside the macro)

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: