X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/5cd41e637e9c0d4e1b5d2e03a68ad8ad3ed6778f..2c3bcb5d2d550bb6546c0f8aa3721f623ca9d6b6:/src/editor/modules/documentToolbar/documentToolbar.js?ds=inline

diff --git a/src/editor/modules/documentToolbar/documentToolbar.js b/src/editor/modules/documentToolbar/documentToolbar.js
index 84361ad..33f95a6 100644
--- a/src/editor/modules/documentToolbar/documentToolbar.js
+++ b/src/editor/modules/documentToolbar/documentToolbar.js
@@ -9,7 +9,7 @@ return function(sandbox) {
         currentNode;
 
     var view = {
-        node: $(_.template(template)({tagNames: wlxmlUtils.wlxmlTagNames, classNames: wlxmlUtils.wlxmlClassNames, templates: documentTemplates})),
+        node: $(_.template(template)({wlxmlUtils: wlxmlUtils, templates: documentTemplates})),
         setup: function() {
             var view = this;
             
@@ -50,6 +50,8 @@ return function(sandbox) {
                         };
                     }
 
+                    _.extend(params, {ctrlKey: e.ctrlKey});
+
                     sandbox.publish('command', command, params);
                 }
             });