This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-b224cced-fef7-4cb2-984f-47801689ea09 XWIKI-22420 Open

Bulleted list does not work as expected when used in "Expand" macro

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-45b0feb9-c5d7-4039-be4d-6c162a6fadbf Ion Claudiu created this issue on 14/Aug/24 10:55
 
Summary: Bulleted list does not work as expected when used in "Expand" macro
Issue Type: cid:jira-generated-image-avatar-b224cced-fef7-4cb2-984f-47801689ea09 Bug
Affects Versions: 15.10.10, 15.10.11, 16.4.2, 16.6.0
Assignee: Unassigned
Attachments: bullet-list-edit-mode.png, bullet-list-view-mode.png, bullet-vs-number-lists.png, number-list-view-mode.png
Components: CKEditor
Created: 14/Aug/24 10:55
Environment: I used Pro macros 1.19.9. on XWiki 15.10.10., 15.10.11., 16.4.2. and 16.6.0.
Priority: cid:jira-generated-image-static-minor-6f3e9387-708f-485c-ab21-ca210163265c Minor
Reporter: Ion Claudiu
Description:

Steps to reproduce:

  • In a page, insert an "Expand" macro that has a Bulleted list in it, for example:

expand title="Click here to see the "Bulleted List" (not)."
The following test is a "Bulleted List"* Point number one

  • Point number two

Normal text

  • Point number three
  • Point number four

Normal text
/expand * Click on Save & Exit

  • Observe the page in View mode
  • Expand the macro
  • Click on Edit
  • Observe the page in Edit mode

Expected results: The Bulleted list inside the macro is shown as a normal Bulleted list (just like the one above) when the macro is expanded in both View and Edit mode

Actual results: In View mode, the Bulleted list has no indent and no bullet before the items. The order of the items and the content seems to be the same. However, in Edit mode, the list is shown as expected.

I think it is worth mentioning that using Numbered list instead of Bulleted list works as expected in both View and Edit modes: the lists are shown as a normal Numbered list when the section is expanded.

 
 

1 update

 
cid:jira-generated-image-avatar-45b0feb9-c5d7-4039-be4d-6c162a6fadbf Changes by Ion Claudiu on 14/Aug/24 10:56
 
Description: Steps to reproduce:
* In a page, insert an "Expand" macro that has a Bulleted list in it, for example:



{{ {{{} expand title="Click here to see the { ~ } "Bulleted List { ~ } " (not)." { }} }}}
The following test is a "Bulleted List"


       
* Point number one

       
* Point number two

Normal text

        * Point number three

       
* Point number four

Normal text
\ {{ {{{} /expand { }} }}}
* Click on Save & Exit
* Observe the page in View mode
* Expand the macro
* Click on Edit
* Observe the page in Edit mode

Expected results: The Bulleted list inside the macro is shown as a normal Bulleted list (just like the one above) when the macro is expanded in both View and Edit mode

Actual results: In View mode, the Bulleted list has no indent and no bullet before the items. The order of the items and the content seems to be the same. However, in Edit mode, the list is shown as expected.

I think it is worth mentioning that using Numbered list instead of Bulleted list works as expected in both View and Edit modes: the lists are shown as a normal Numbered list when the section is expanded.