Skip to content

Commit

Permalink
XWIKI-21773: Admin section: make the WYSIWYG section pass webstandard…
Browse files Browse the repository at this point in the history
… tests

* Replaced the hard coded number value with a more robust computed one.
  • Loading branch information
Sereza7 committed Feb 12, 2024
1 parent 89793a1 commit aaf80f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@

#macro (displayCKEditorConfigProperty $configDoc $propName $action)
<dt>
<label for="CKEditor.ConfigClass_0_${propName}">$configDoc.displayPrettyName($propName)</label>
<label for="CKEditor.ConfigClass_$escapetool.xml($configDoc.getObject("CKEditor.ConfigClass").getNumber())_${propName}">$configDoc.displayPrettyName($propName)</label>
<span class="xHint">$escapetool.xml($services.localization.render("CKEditor.ConfigClass_${propName}.hint"))</span>
</dt>
<dd>#displayCKEditorConfigPropertyValue($configDoc $propName $action)</dd>
Expand Down

0 comments on commit aaf80f3

Please sign in to comment.