mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-12 01:54:38 -05:00
refac
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user