Skip to content
Browse files

Merge pull request #99 from wwalser/metaDelete

Corrects for metakey-delete not deleting by word
  • Loading branch information...
2 parents a6af66e + e1371a5 commit 7ad17bb6949253ec097a2cdb80134c40b347a112 @spocke spocke committed Dec 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 jscripts/tiny_mce/classes/util/Quirks.js
View
2 jscripts/tiny_mce/classes/util/Quirks.js
@@ -25,7 +25,7 @@
var rng, blockElm, node, clonedSpan, isDelete;
isDelete = e.keyCode == DELETE;
- if (isDelete || e.keyCode == BACKSPACE) {
+ if ((isDelete || e.keyCode == BACKSPACE) && !VK.modifierPressed(e)) {
e.preventDefault();
rng = selection.getRng();

1 comment on commit 7ad17bb

@baggynou

Hi, how do you apply this patch ? I can't find the file in my install of TinyMCE :/ Thanks a lot !

Please sign in to comment.
Something went wrong with that request. Please try again.