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 (#2794)

* Fixed the input labels
* Removed the comment from the test for WYSIWYG
* Replaced the hard coded number value with a more robust computed one.
  • Loading branch information
Sereza7 authored Feb 12, 2024
1 parent 09c9a0e commit f4714e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@

#macro (displayCKEditorConfigProperty $configDoc $propName $action)
<dt>
<label>$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
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,7 @@
/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Delete
<!-- Editing -->
/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&amp;section=Editing
<!-- /xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&amp;section=WYSIWYG
TODO https://jira.xwiki.org/browse/XWIKI-21773 -->
/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&amp;section=WYSIWYG
/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&amp;section=Syntaxes
/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&amp;section=nameStrategies
/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&amp;section=SyntaxHighlighting
Expand Down

0 comments on commit f4714e7

Please sign in to comment.