crisp-im / crisp-sdk-web

:package: Include the Crisp chat widget from using frameworks such as React, VueJS, Angular...
https://www.npmjs.com/package/crisp-sdk-web
MIT License
39 stars 13 forks source link

Resize Crisp widget withtout the SDK #24

Closed sabatale closed 5 months ago

sabatale commented 9 months ago

Would it be possible to add an option to resize the widget directly from the CDN version? (without including the SDK)

<script type="text/javascript">window.$crisp = []; window.CRISP_WEBSITE_ID = "uuid"; (function () { d = document; s = d.createElement("script"); s.src = "https://client.crisp.chat/l.js"; s.async = 1; d.getElementsByTagName("head")[0].appendChild(s); })();</script>

For example, a parameter such CRISP_WIDGET_SIZE= "sm"?

eliottvincent commented 5 months ago

Hey, this is not possible, you need to use the SDK for that.