<NME> FormatShortcuts.js
<BEF> ADDFILE
<MSG> TINY-947: separated formatted into smaller parts

<DFF> @@ -0,0 +1,36 @@
+/**
+ * FormatShortcuts.js
+ *
+ * Released under LGPL License.
+ * Copyright (c) 1999-2017 Ephox Corp. All rights reserved
+ *
+ * License: http://www.tinymce.com/license
+ * Contributing: http://www.tinymce.com/contributing
+ */
+
+define(
+  'tinymce.core.keyboard.FormatShortcuts',
+  [
+  ],
+  function () {
+    var setup = function (editor) {
+      // Add some inline shortcuts
+      editor.addShortcut('meta+b', '', 'Bold');
+      editor.addShortcut('meta+i', '', 'Italic');
+      editor.addShortcut('meta+u', '', 'Underline');
+
+      // BlockFormat shortcuts keys
+      for (var i = 1; i <= 6; i++) {
+        editor.addShortcut('access+' + i, '', ['FormatBlock', false, 'h' + i]);
+      }
+
+      editor.addShortcut('access+7', '', ['FormatBlock', false, 'p']);
+      editor.addShortcut('access+8', '', ['FormatBlock', false, 'div']);
+      editor.addShortcut('access+9', '', ['FormatBlock', false, 'address']);
+    };
+
+    return {
+      setup: setup
+    };
+  }
+);

{'addition_count': 36, 'commit_subject': 'TINY-947: separated formatted into smaller parts', 'deletion_count': 0, 'file_extension': '.js', 'lang': 'js', 'license': 'mit', 'repo_name': 'tinymce/tinymce'}