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

WYSIWYG editor treats macro parameter names as case sensitive

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.8.2, 1.9 M2
    • 1.8.1, 1.9 M1
    • WYSIWYG Editor
    • None
    • any
    • macro parameter name case sensitive
    • Unit, Integration

    Description

      The WYSIWYG editor should ignore the case in macro parameter names. Precisely, the editor should generate case sensitive parameter names but should also understand case insensitive. For instance, if you write in Wiki editor:

      {{box cssclass="foo"}}bar{{/box}}
      

      and then go to WYSIWYG and edit the box parameter you should see "foo" as the value of the cssClass parameter. The same should happen if you write:

      {{box cssClass="foo"}}bar{{/box}}
      

      Notice the came case this time. Now, If you edit the macro, apply the changes and go to Wiki editor you should get:

      {{box cssClass="xyz"}}abc{{/box}}
      

      Notice again the camel case in the parameter name.

      So, detect case insensitive, but generate case sensitive.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: