Details
-
Bug
-
Resolution: Fixed
-
Major
-
17.10.6
-
Windows 11 Pro, Edge 146, using an instance of XWiki 17.10.6 on PostgreSQL 17, Jetty 12 Standalone
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce
- Edit a page with CKEditor
- From the toolbar, click 'Insert' > 'Code Snippet'
- Observe the Language field
Expected results
The 'Language' field value is consistent (taking into consideration the autodetection feature of the Code Macro).
Actual results
When the Code Macro is inserted from the toolbar by clicking 'Insert' > 'Code Snippet', the 'Language' field is 'none', but when the macro is inserted in other ways like from 'Insert' > 'Other Macros' > 'Code', via Quick Actions or just pasted as {{code}}{{/code}} in Source mode, the 'Language' field isĀ empty.
Attachments
Issue Links
- relates to
-
XWIKI-24087 Inconsistent 'Language' field value when inserting Code Macro in different ways
-
- Closed
-