X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/2961355b46249c0ab918fcc4eb0835ed5ed495a8..635d44e05306b5bd5f5238a31a122528fee1e779:/src/editor/modules/rng/rng.js?ds=sidebyside diff --git a/src/editor/modules/rng/rng.js b/src/editor/modules/rng/rng.js index bed3e86..78145a5 100644 --- a/src/editor/modules/rng/rng.js +++ b/src/editor/modules/rng/rng.js @@ -151,6 +151,9 @@ return function(sandbox) { sourceEditor.commitChanges(); } sandbox.getModule('data').saveDocument(); + }, + 'cmd.drop-draft': function() { + sandbox.getModule('data').dropDraft(); } };