htmlarea.js

This commit is contained in:
Pim Snel 2004-09-28 21:30:52 +00:00
parent 2a5bd05ad0
commit 9667feeebf

View File

@ -1651,7 +1651,7 @@ HTMLArea.prototype.execCommand = function(cmdID, UI, param) {
case "cut": case "cut":
case "copy": case "copy":
case "paste": /* case "paste":
try { try {
if (this.config.killWordOnPaste) if (this.config.killWordOnPaste)
this._wordClean(); this._wordClean();
@ -1670,6 +1670,7 @@ HTMLArea.prototype.execCommand = function(cmdID, UI, param) {
} }
} }
break; break;
*/
case "lefttoright": case "lefttoright":
case "righttoleft": case "righttoleft":
var dir = (cmdID == "righttoleft") ? "rtl" : "ltr"; var dir = (cmdID == "righttoleft") ? "rtl" : "ltr";