(name)
| 978 | return command; |
| 979 | }, |
| 980 | removeCommand(name) { |
| 981 | if (!name) return; |
| 982 | removeExternalCommand(name); |
| 983 | refreshCommandKeymap(editor); |
| 984 | }, |
| 985 | }; |
| 986 | |
| 987 | Object.defineProperty(editor.commands, "commands", { |
nothing calls this directly
no test coverage detected