kontent-ai / smart-link

Kontent.ai Smart Link SDK can be used to automatically inject smart links to Kontent.ai according to manually specified HTML data attributes on your website. It also lets you connect your website with Web Spotlight (for faster editing and preview of your content).
MIT License
9 stars 4 forks source link

Add developer mode to see all buttons outside WSL #152

Open pokornyd opened 7 months ago

pokornyd commented 7 months ago

Motivation

Some of the smartlink features are only available in WSL environment. While understandable from customer's point of view, it would make development easier if there was an option to display all buttons in a regular preview.

Proposed solution

Add a toggle in the SDK initialization or as a query parameter, which would display all buttons, regardless of the environment the site is rendered in.