diff --git a/apps/www/src/registry/default/plate-ui/font-size-toolbar-button.tsx b/apps/www/src/registry/default/plate-ui/font-size-toolbar-button.tsx index 135c40b8f0..433895716c 100644 --- a/apps/www/src/registry/default/plate-ui/font-size-toolbar-button.tsx +++ b/apps/www/src/registry/default/plate-ui/font-size-toolbar-button.tsx @@ -105,10 +105,9 @@ export function FontSizeToolbarButton() { handleInputChange(); }} onChange={(e) => setInputValue(e.target.value)} - onFocus={(e) => { + onFocus={() => { setIsFocused(true); setInputValue(toUnitLess(cursorFontSize)); - e.target.select(); }} onKeyDown={(e) => { if (e.key === 'Enter') {