refac/fix: mineru params

This commit is contained in:
Timothy Jaeryang Baek
2025-11-05 14:43:25 -05:00
parent cdf90222c7
commit 6c583ef9d3
2 changed files with 29 additions and 18 deletions
@@ -11,7 +11,9 @@
export let className =
'w-full rounded-lg px-3.5 py-2 text-sm bg-gray-50 dark:text-gray-300 dark:bg-gray-850 outline-hidden h-full';
export let onInput = () => {};
export let onBlur = () => {};
let textareaElement;
// Adjust height on mount and after setting the element.
@@ -58,6 +60,8 @@
{readonly}
on:input={(e) => {
resize();
onInput(e);
}}
on:focus={() => {
resize();