mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 18:25:51 +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)"
|
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())
|
||||||
|
|||||||
Reference in New Issue
Block a user