John Bieling 89637d1080 Bug 1883367 - Disable editor commands for read-only editors. r=masayuki
The purpose of this patch is to prevent users to make changes to
read-only editors.

This patch forces `IsCommandEnabled()` to return false for read-only
editors for "standard" editor commands that could have an associated
icon or menu entry and are therefore user-accessible.

This patch does not modify/test any paste commands or any of the
advanced internal editor commands.

Differential Revision: https://phabricator.services.mozilla.com/D203754
2024-03-08 17:55:57 +00:00
..