What steps will reproduce the problem?
execCommand function in chatEditor class send command 'smile' to
document.body. Instead need to send 'InsertImage'
What is the expected output? What do you see instead?
I change the function like this, to work fine
execCommand: function(cmd, opt) {
var option = opt != undefined ? opt : false;
cmd = (cmd == 'smile') ? 'InsertImage' : cmd;
try {
this.doc.execCommand(cmd, false, option);
} catch(e) {
alert('Error executing command');
}
}
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by bfpde...@gmail.com on 12 Jul 2007 at 8:28
Original issue reported on code.google.com by
bfpde...@gmail.com
on 12 Jul 2007 at 8:28