WebKit2.WebView.prototype.execute_editing_command_with_argument

function execute_editing_command_with_argument(command: String, argument: String): void {
    // Gjs wrapper for webkit_web_view_execute_editing_command_with_argument()
}
  

Request to execute the given command with argument for web_view. You can use WebKit2.WebView.prototype.can_execute_editing_command to check whether it's possible to execute the command.

Since 2.10

command

the command to execute

argument

the command argument