refac
This commit is contained in:
@@ -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]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user