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

Allow {style} macros to be nested

    XMLWordPrintable

    Details

    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: