mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 12:39:04 +01:00
chore(react/settings): use onBlur instead of onChange
This commit is contained in:
parent
f00b8e9522
commit
1f479b20be
@ -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())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user