Fix firefox by removing the document.execCommand('useCSS', false, true) stuff

This commit is contained in:
Tyler Renelle
2012-09-04 14:10:46 -04:00
parent c201921dc1
commit 06e96407d3
2 changed files with 4 additions and 5 deletions

View File

@@ -331,7 +331,7 @@ ready(function(model) {
exports.updateSchema = function(e, el) {
return schema.updateSchema(model);
};
exports.shortcuts = function(e) {
return exports.shortcuts = function(e) {
var code, command;
if (!(e.metaKey || e.ctrlKey)) {
return;
@@ -359,6 +359,4 @@ ready(function(model) {
}
return false;
};
document.execCommand('useCSS', false, true);
return document.execCommand('styleWithCSS', false, false);
});