We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a777c31 commit f1a5b99Copy full SHA for f1a5b99
draceditor/static/js/draceditor.js
@@ -150,13 +150,13 @@ $(document).ready(function(){
150
var editor = CodeMirror.fromTextArea(textArea, {
151
onKeyEvent: function(e , s){
152
if (s.type == "keyup") {
153
- console.log("test");
+ console.log("test"); // this dosn't show anything
154
}
155
156
});
157
- console.log(editor);
+ console.log(editor); // this work well.
158
editor.on("keyup", function(editor, event) {
159
+ console.log(editor); // this dosn't show anything
160
161
162
*/
0 commit comments