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

Allow {style} macros to be nested

    XMLWordPrintable

Details

    Description

      Currently the WYSIWYG editor will fail if a user styles a block and then adds a style on some elements inside that block. For example the following will not work correctly:

      {style:type=div|align=center}
      Hello {style:type=span|font-size=24px}sir{style}

      , this is a test

      {style}

      To solve it, make the style macro support recursion.

      Attachments

        Activity

          People

            ludovic Ludovic Dubost
            ludovic Ludovic Dubost
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: