This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
In SimpleMDE check if trigger exists before call (
#9545
)
tags/v1.11.0-rc1
zeripath
GitHub
5 years ago
parent
08d7154a09
commit
d60ff1f1b6
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
web_src/js/index.js
+ 3
- 1
web_src/js/index.js
View File
@@ -1490,7 +1490,9 @@ function setCommentSimpleMDE($editArea) {
}
},
Backspace: (cm) => {
cm.getInputField().trigger('input');
if (cm.getInputField().trigger) {
cm.getInputField().trigger('input');
}
cm.execCommand('delCharBefore');
}
});
Write
Preview
Loading…
Cancel
Save