chore(react/settings): use onBlur instead of onChange

This commit is contained in:
Elian Doran 2025-08-19 20:09:56 +03:00
parent f00b8e9522
commit 1f479b20be
No known key found for this signature in database

View File

@ -220,7 +220,7 @@ function HtmlImportTags() {
fontFamily: "var(--monospace-font-family)"
}), [])}
value={parsedValue}
onChange={e => {
onBlur={e => {
const tags = e.currentTarget.value
.split(/[\n,\s]+/) // Split on newlines, commas, or spaces
.map((tag) => tag.trim())