mirror of
https://github.com/marktext/marktext.git
synced 2025-05-02 10:49:21 +08:00
Merge 71306bc5b4
into 11c8cc1e19
This commit is contained in:
commit
db34166326
@ -302,6 +302,11 @@ const tabCtrl = ContentState => {
|
||||
// disable tab focus
|
||||
event.preventDefault()
|
||||
|
||||
// skip subsequent processing if IME is working
|
||||
if (event.isComposing) {
|
||||
return
|
||||
}
|
||||
|
||||
const { start, end } = selection.getCursorRange()
|
||||
if (!start || !end) {
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user