{t("notes.toolbar.customCodeFont")}
{t("notes.toolbar.fontsAvailable", { count: systemFontList.length })}
{/* Search Bar */}
setFontSearch(e.target.value)}
className="w-full pl-6 pr-2 py-1 rounded border border-border bg-background text-[11px] text-foreground outline-none focus:border-primary placeholder:text-muted-foreground/60"
/>
{/* Scrollable Font List */}
{filteredFonts.length === 0 ? (
{t("notes.toolbar.noFontsFound")}
) : (
filteredFonts.map((f) => (
))
)}
{t("notes.toolbar.codeFontSize")}
{CODE_FONT_SIZES.map((sz) => (
))}
);
}
if (item.id === "heading") {
return (