keep execCommand
This commit is contained in:
parent
aa0c0d5fa7
commit
4b372b67ad
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue