File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1- ; ( function ( ) {
1+ ; ( function ( ) {
22 window . sqlbot_assistant_handler = window . sqlbot_assistant_handler || { }
33 const defaultData = {
44 id : '1' ,
6868 const getChatContainerHtml = ( data ) => {
6969 return `
7070<div id="sqlbot-assistant-chat-container">
71- <iframe id="sqlbot-assistant-chat-iframe-${ data . id } " allow="microphone" src="${ data . domain_url } /#/assistant?id=${ data . id } &online=${ ! ! data . online } "></iframe>
71+ <iframe id="sqlbot-assistant-chat-iframe-${ data . id } " allow="microphone;clipboard-read 'src'; clipboard-write 'src' " src="${ data . domain_url } /#/assistant?id=${ data . id } &online=${ ! ! data . online } "></iframe>
7272 <div class="sqlbot-assistant-operate">
7373 <div class="sqlbot-assistant-closeviewport sqlbot-assistant-viewportnone">
7474 <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
You can’t perform that action at this time.
0 commit comments