There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-05be9feb-2015-4568-8abd-8f198824bd3f XWIKI-16048 Open

List the available syntaxes in the Content macro's parameters modal

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-f790152c-82c6-4f80-96ad-3810c2d2165e Charpentier Lucas on 23/Oct/26 17:13
 

The content macro also gives a technical message when the syntax is not available: {{content syntax="markdown/1.2"}}x{{/content}} renders "Failed to execute the [content] macro. Cause: [Can't find descriptor for the component with type [interface org.xwiki.rendering.parser.Parser] and hint [markdown/1.2]]", which names neither the parameter nor the syntaxes that are available. The list of available syntaxes asked here would also let the macro refuse an unavailable one with an error that names the parameter and lists the available syntaxes.

Macro Criterion Parameter Problem
content E2 errors syntax An unavailable syntax gives a component lookup error that names neither the parameter nor how to fix it.

This KO comes from the WYSIWYG usability audit of the macros, under the criterion E2 errors of its usability criteria. It is only partly covered here: the same KO also reports invalid values covered by XCOMMONS-3847 and XRENDERING-823.