There are 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-a5b6b913-a7eb-4d3b-98f7-2268d9457f6b XWIKI-19035 Open

Groovy Macro Content field appears to be mandatory only on CKEditor UI edit mode

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-b3b9a9ed-4ad6-460f-ac01-8de8728197f6 Nikita Petrenko on 13/Jun/25 15:04
 

I can't reproduce it on XWiki 17.4.0, Groovy marks its content as required, you cannot insert macro without providing the content. It can be seen in code.

 
cid:jira-generated-image-avatar-b3b9a9ed-4ad6-460f-ac01-8de8728197f6 Nikita Petrenko on 13/Jun/25 15:10
 
I can't reproduce it on XWiki 17.4.0, Groovy marks its content as required, you cannot insert macro without providing the content. It can be seen in [ code |https://github . com/xwiki/xwiki-platform/blob/65ca1d2b693c3548c2c15bc3e54fe072141f9357/xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-plugins/src/main/webjar/xwiki-macro/macroEditor.js#L627-L642].