If the page editor is first loaded in Preview mode and then switched to Edit mode the Panel Selector icon in the component toolbar does not show for Accordion, Carousel, and Tabs components. The author must refresh the entire page (in Edit mode) to restore the Panel Selector icon in the toolbar.
This is b/c the HTL code in the .html files for Accordion/Carousel/Tabs only sets the data-panelcontainer value if wcmmode.edit which is only true if the page is loaded in Edit mode. Swapping from Preview mode to Edit mode does not refresh the page, and thus does not re-run the HTML.
Special Note: This issue is NOT reproducible in the WCM Core Brand Library of Core Components Examples, b/c the wrapping Demo component forces the wcmmode of the displayed child components to Edit, thus masking the bug.
Bug Present as of Version: 2.25.5-SNAPSHOT
If the page editor is first loaded in Preview mode and then switched to Edit mode the Panel Selector icon in the component toolbar does not show for Accordion, Carousel, and Tabs components. The author must refresh the entire page (in Edit mode) to restore the Panel Selector icon in the toolbar.
This is b/c the HTL code in the .html files for Accordion/Carousel/Tabs only sets the
data-panelcontainer
value ifwcmmode.edit
which is only true if the page is loaded in Edit mode. Swapping from Preview mode to Edit mode does not refresh the page, and thus does not re-run the HTML.Example from tabs.html:
should be updated to
This update should be made in all 3 components.
Special Note: This issue is NOT reproducible in the WCM Core Brand Library of Core Components Examples, b/c the wrapping
Demo
component forces thewcmmode
of the displayed child components toEdit
, thus masking the bug.