mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 15:09:01 +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)"
|
fontFamily: "var(--monospace-font-family)"
|
||||||
}), [])}
|
}), [])}
|
||||||
value={parsedValue}
|
value={parsedValue}
|
||||||
onChange={e => {
|
onBlur={e => {
|
||||||
const tags = e.currentTarget.value
|
const tags = e.currentTarget.value
|
||||||
.split(/[\n,\s]+/) // Split on newlines, commas, or spaces
|
.split(/[\n,\s]+/) // Split on newlines, commas, or spaces
|
||||||
.map((tag) => tag.trim())
|
.map((tag) => tag.trim())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user