X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/2961355b46249c0ab918fcc4eb0835ed5ed495a8..8244aae227025150a77d6377caa52e0b7b0b5cbc:/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(); } };