You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spec for queryCommandEnabledstates that all commands in the Miscellaneous section are always enabled. However, the steps for selectAll require that document.getSelection() does not return null. My suggestion is to disable the command whenever there is no selection available to work with.
The text was updated successfully, but these errors were encountered:
gmta
added a commit
to gmta/ladybird
that referenced
this issue
Jan 20, 2025
The spec for
queryCommandEnabled
states that all commands in the Miscellaneous section are always enabled. However, the steps forselectAll
require thatdocument.getSelection()
does not returnnull
. My suggestion is to disable the command whenever there is no selection available to work with.The text was updated successfully, but these errors were encountered: