can-do-edit-operation? in mode:host-text-mixin

Checks whether a generic edit command would succeed for the editor. This check is especially useful for enabling and disabling menus on demand.