-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
It would be great of some of the api was exposed so we could programmatically call methods and run commands.
I mostly think of a command runner similar to what toolbar click handler is doing only with a generic command and value
runCommand(command, value) {
self.restoreSelection( );
editor.focus();
self.execCommand( command, value, editor, options, toolbarBtnSelector );
self.saveSelection( );
}
This will allow more flexibility and custom ui when calling commands (like poping up a dialog to enter url)
Metadata
Metadata
Assignees
Labels
No labels