Show and Hide Experience Fragment content on a Page on Edit and preview/publish mode respectively
I have a requirement to show some Specific content of the experience Fragment on a page if it is in edit mode and the experience fragment should be hidden in preview/publish mode.
While using wcmmode.edit, i am getting the value as false at both edit and publish mode for the component authored as experience fragment.
Can somebody help me with a way to fulfill this requirement?