I have several LWC's which interact with other LWC's on Custom App Page using Lightning Message Channel.
When you open the Page in Lightning App Builder these several LWC's is not visible.
They become visible after some action (pressing the button etc.)
And it is quite hard to configure the Page as when you put a LWC on a Page it is empty(not visible) :
So my question is :
Is there a way to determine if the LWC is opened from Lightning App Builder ? (to show some default preview for a user (Name and description of LWC)
I tried to check the page url, it looks in next way :
https://my-org-domain.lightning.force.com/flexipageEditor/surface.app?appLayout=lg&formfactorName=DESKTOP&aura.mode=PROD
So we can check if the page url contains /flexipageEditor/
value ?
However I am not sure if is good and stable solution ?
Any help will be appreciated.
Thank You.