Refactor textarea input handling for Firefox compatibility
This commit is contained in:
@@ -262,6 +262,11 @@
|
||||
break
|
||||
}
|
||||
}
|
||||
if(e.key === 'Enter' && isFirefox){
|
||||
e.stopPropagation()
|
||||
e.preventDefault()
|
||||
insertContent('\n')
|
||||
}
|
||||
}
|
||||
|
||||
$: optiValue = value
|
||||
|
||||
Reference in New Issue
Block a user