Skip to content

Commit f78234c

Browse files
authored
[4.3] Tinymce Source Code Editor shortcut (#39644)
This simple PR adds a keyboard shortcut to open the source code editor
1 parent 35e9f08 commit f78234c

File tree

1 file changed

+1
-0
lines changed
  • build/media_source/plg_editors_tinymce/js/plugins/highlighter

1 file changed

+1
-0
lines changed

build/media_source/plg_editors_tinymce/js/plugins/highlighter/plugin.es6.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,5 @@ window.tinymce.PluginManager.add('highlightPlus', (editor, url) => {
9494
onAction: showSourceEditor,
9595
context: 'tools',
9696
});
97+
editor.addShortcut('Alt+U', 'Opens the code editor', showSourceEditor);
9798
});

0 commit comments

Comments
 (0)