The following DHTML formatting commands each work fine on a div with contentEditable=true
in IE, Firefox and Chrome:
document.execCommand("superscript", false, null);
document.execCommand("subscript", false, null);
However, calling the command again to remove the formatting has no effect in Chrome.
Am I missing something or is this a bug in Chrome?