Skip to content

Commit

Permalink
Update Plain widget
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Dec 11, 2024
1 parent aea5f90 commit e17cbc2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions plain.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,35 @@
threadDetails: {
labelTypeIds: ['lt_01JAZTMHV9XNNYN8DR7424DMPB'],
},
theme: 'auto',
position: {
right: '25px',
bottom: '25px',
},
requireAuthentication: true,
chatButtons: [
{
icon: 'chat',
text: 'Ask a question',
threadDetails: {
labelTypeIds: ['lt_01JD7S0WAJGF5215238S62F82V'],
},
},
{
icon: 'bulb',
text: 'Send feedback',
threadDetails: {
labelTypeIds: ['lt_01JD7S1HJ38125D0QGE3FQ8HRT'],
},
},
{
icon: 'error',
text: 'Report an issue',
threadDetails: {
labelTypeIds: ['lt_01JD7S15A3HAD7PM8X8AR4BD9N'],
},
},
],
});
};
script.src = 'https://chat.cdn-plain.com/index.js';
Expand Down

0 comments on commit e17cbc2

Please sign in to comment.