keep execCommand

This commit is contained in:
nightwing 2012-10-31 17:39:48 +04:00
commit 4b372b67ad

View file

@ -652,6 +652,11 @@ var Editor = function(renderer, session) {
this.insert(text);
};
this.execCommand = function(command, args) {
this.commands.exec(command, this, args);
};
/**
* Editor.insert(text)
* - text (String): The new text to add