}
editor.on('init', function() {
- editor.addShortcut('Ctrl+Alt+F', '', toggleFullscreen);
+ editor.addShortcut('Meta+Alt+F', '', toggleFullscreen);
});
editor.on('remove', function() {
editor.addMenuItem('fullscreen', {
text: 'Fullscreen',
- shortcut: 'Ctrl+Alt+F',
+ shortcut: 'Meta+Alt+F',
selectable: true,
onClick: toggleFullscreen,
onPostRender: function() {
editor.addButton('fullscreen', {
tooltip: 'Fullscreen',
- shortcut: 'Ctrl+Alt+F',
+ shortcut: 'Meta+Alt+F',
onClick: toggleFullscreen,
onPostRender: function() {
var self = this;