Open GoogleCodeExporter opened 8 years ago
I try this workarround and runs fine :-)
/**
* si la textarea és ReadOnly, li passem un contentReadOnly
*/
if (crtgReadOnly)
{
self.editor_cmd('contentReadOnly', crtgReadOnly);
/**
* workarround per al Chrome que no li agrada el contentReadOnly
*/
$(self.iframe_doc).keydown(function(event) {
return false;
});
}
else
{
if(!self.toolbars.rte)
self.toolbars.rte =
self.create_toolbar(self.controls.rte);
self.activate_toolbar(self.iframe, self.toolbars.rte);
}
Original comment by corretge...@gmail.com
on 14 Mar 2010 at 10:42
Original issue reported on code.google.com by
corretge...@gmail.com
on 14 Mar 2010 at 10:30