This commit is contained in:
Timothy Jaeryang Baek 2025-07-14 14:37:28 +04:00
parent f402957f05
commit 203c5b1956
2 changed files with 3 additions and 1 deletions

View file

@ -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;

View file

@ -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]
} }