improve styling

This commit is contained in:
Philipp Kühn
2021-01-18 16:54:02 +01:00
committed by Hans Pagel
parent bb71cf597e
commit a7ac9a7ef4
3 changed files with 16 additions and 8 deletions

View File

@@ -178,8 +178,7 @@ export function Suggestion({
return false
}
// return onKeyDown({ view, event, range })
return testRenderer?.onKeyDown?.({ view, event, range })
return testRenderer?.onKeyDown?.({ view, event, range }) || false
},
// Setup decorator on the currently active suggestion.