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