void applyCommand(PassRefPtr<EditCommand> command)
{
    DeleteButtonController *deleteButtonController = command->document()->frame()->editor()->deleteButtonController();
    deleteButtonController->disable();
    command->apply();
    deleteButtonController->enable();
}
Exemple #2
0
void applyCommand(PassRefPtr<EditCommand> command)
{
    command->apply();
}