mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12672] Make tab intercept; CB for keypress only react without key mods
This commit is contained in:
commit
bb590b6216
1 changed files with 5 additions and 1 deletions
|
@ -1201,7 +1201,11 @@ phpbb.applyCodeEditor = function(textarea) {
|
|||
var key = event.keyCode || event.which;
|
||||
|
||||
// intercept tabs
|
||||
if (key == 9) {
|
||||
if (key == 9 &&
|
||||
!event.ctrlKey &&
|
||||
!event.shiftKey &&
|
||||
!event.altKey &&
|
||||
!event.metaKey) {
|
||||
if (inTag()) {
|
||||
appendText("\t");
|
||||
event.preventDefault();
|
||||
|
|
Loading…
Add table
Reference in a new issue