Skip to content

Commit 63c5039

Browse files
author
Boris Ablamunits
committed
Fixes onBlur handling
1 parent 0d6e6f4 commit 63c5039

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ class Shared implements ICommon {
132132
public wire(name: string) {
133133

134134
switch (name) {
135-
case 'blur': {
136-
(this.editor as any).on('onBlur', (cm, event) => {
135+
case 'onBlur': {
136+
(this.editor as any).on('blur', (cm, event) => {
137137
this.props.onBlur(this.editor, event);
138138
});
139139
}

0 commit comments

Comments
 (0)