mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 06:45:24 +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
|
navigator.msMaxTouchPoints > 0
|
||||||
))}
|
))}
|
||||||
largeTextAsFile={$settings?.largeTextAsFile ?? false}
|
largeTextAsFile={$settings?.largeTextAsFile ?? false}
|
||||||
|
floatingMenuPlacement={'top-start'}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
const { md } = e;
|
const { md } = e;
|
||||||
content = md;
|
content = md;
|
||||||
|
|
|
||||||
|
|
@ -134,6 +134,7 @@
|
||||||
export let shiftEnter = false;
|
export let shiftEnter = false;
|
||||||
export let largeTextAsFile = false;
|
export let largeTextAsFile = false;
|
||||||
export let insertPromptAsRichText = false;
|
export let insertPromptAsRichText = false;
|
||||||
|
export let floatingMenuPlacement = 'bottom-start';
|
||||||
|
|
||||||
let content = null;
|
let content = null;
|
||||||
let htmlValue = '';
|
let htmlValue = '';
|
||||||
|
|
@ -853,7 +854,7 @@
|
||||||
tippyOptions: {
|
tippyOptions: {
|
||||||
duration: 100,
|
duration: 100,
|
||||||
arrow: false,
|
arrow: false,
|
||||||
placement: 'bottom-start',
|
placement: floatingMenuPlacement,
|
||||||
theme: 'transparent',
|
theme: 'transparent',
|
||||||
offset: [-12, 4]
|
offset: [-12, 4]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue