mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
f402957f05
commit
203c5b1956
2 changed files with 3 additions and 1 deletions
|
|
@ -709,6 +709,7 @@
|
|||
navigator.msMaxTouchPoints > 0
|
||||
))}
|
||||
largeTextAsFile={$settings?.largeTextAsFile ?? false}
|
||||
floatingMenuPlacement={'top-start'}
|
||||
onChange={(e) => {
|
||||
const { md } = e;
|
||||
content = md;
|
||||
|
|
|
|||
|
|
@ -134,6 +134,7 @@
|
|||
export let shiftEnter = false;
|
||||
export let largeTextAsFile = false;
|
||||
export let insertPromptAsRichText = false;
|
||||
export let floatingMenuPlacement = 'bottom-start';
|
||||
|
||||
let content = null;
|
||||
let htmlValue = '';
|
||||
|
|
@ -853,7 +854,7 @@
|
|||
tippyOptions: {
|
||||
duration: 100,
|
||||
arrow: false,
|
||||
placement: 'bottom-start',
|
||||
placement: floatingMenuPlacement,
|
||||
theme: 'transparent',
|
||||
offset: [-12, 4]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue