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

Automatically add empty new line before/after macros when inserting standalone macros

    XMLWordPrintable

Details

    • Integration
    • High
    • Medium

    Description

      Happens when using the wysiwyg to insert a ToC macro.
      If i do not leave a line above the macro, user gets this message :
      "not an inline macro" which is not helpful.
      That warning message will be displayed once the page is saved.

      Not working :

      **Content Table**
      {{toc/}}
      
      == Section A ==
      

      Working :

      **Content Table**
      
      {{toc/}}
      
      == Section A ==
      

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              barbey St├ęphane Barbey
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: