|
@@ -60,6 +60,7 @@
|
|
|
export let scrollToBottom: Function = () => {};
|
|
|
|
|
|
export let acceptFiles = true;
|
|
|
+ export let showFormattingButtons = true;
|
|
|
|
|
|
let showInputVariablesModal = false;
|
|
|
let inputVariables: Record<string, any> = {};
|
|
@@ -697,6 +698,7 @@
|
|
|
bind:this={chatInputElement}
|
|
|
json={true}
|
|
|
messageInput={true}
|
|
|
+ {showFormattingButtons}
|
|
|
shiftEnter={!($settings?.ctrlEnterToSend ?? false) &&
|
|
|
(!$mobile ||
|
|
|
!(
|