editor: dropping a working draft
[fnpeditor.git] / src / editor / modules / rng / rng.js
index bed3e86..78145a5 100644 (file)
@@ -151,6 +151,9 @@ return function(sandbox) {
                 sourceEditor.commitChanges();
             }
             sandbox.getModule('data').saveDocument();
+        },
+        'cmd.drop-draft': function() {
+            sandbox.getModule('data').dropDraft();
         }
     };