Hello,
currently we are developing react component for Spa editor. We are now facing with the issue how to display component in preview/publish mode when we are still on author instance.
The counterpart in sightly would <div data-sly-resource="${'path/to/resource' @ wcmmode='disabled'}"></div>
What is the right way to achieve that in SPA react component? I did not find any hint in the documentation.
Regards,
Pawel
Solved! Go to Solution.
Views
Replies
Total Likes
Please provide mode context. Be more clear in your question, please.
What are some of them? What does this mean?
Views
Replies
Total Likes
Please provide mode context. Be more clear in your question, please.
What are some of them? What does this mean?
Views
Replies
Total Likes