mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
chore(react/settings): use onBlur instead of onChange
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user