Skip to content

Commit

Permalink
🎨 fix #747
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Sep 6, 2020
1 parent 818760f commit 4a64ce9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@

### v3.5.2 / 2020-09-xx

* [747](https://github.com/Vanessa219/vditor/issues/747) options.esc 中文处理 `改进功能`
* [744](https://github.com/Vanessa219/vditor/issues/744) IR 模式代码块闪烁 `修复缺陷`
* [748](https://github.com/Vanessa219/vditor/issues/748) 数学公式中出现中文不能渲染问题 `修复缺陷`
* [738](https://github.com/Vanessa219/vditor/issues/738) IR 模式标题变大变小快捷键及光标位置 `修复缺陷`
Expand Down
2 changes: 1 addition & 1 deletion src/ts/util/editorCommonEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const hotkeyEvent = (vditor: IVditor, editorElement: HTMLElement) => {
if (event.key === "Escape") {
if (vditor.hint.element.style.display === "block") {
vditor.hint.element.style.display = "none";
} else if (vditor.options.esc) {
} else if (vditor.options.esc && !event.isComposing) {
vditor.options.esc(getMarkdown(vditor));
}
event.preventDefault();
Expand Down

0 comments on commit 4a64ce9

Please sign in to comment.