2015-08-04 12 views

Odpowiedz

8

dodać polecenie tak

editor.commands.addCommand({ 
    name: 'save', 
    bindKey: {win: "Ctrl-S", "mac": "Cmd-S"}, 
    exec: function(editor) { 
     console.log("saving", editor.session.getValue()) 
    } 
}) 
Powiązane problemy