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:
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:
Notice the came case this time. Now, If you edit the macro, apply the changes and go to Wiki editor you should get:
Notice again the camel case in the parameter name.
So, detect case insensitive, but generate case sensitive.