()
| 986 | |
| 987 | Object.defineProperty(editor.commands, "commands", { |
| 988 | get() { |
| 989 | const map = {}; |
| 990 | getRegisteredCommands().forEach((cmd) => { |
| 991 | map[cmd.name] = cmd; |
| 992 | }); |
| 993 | return map; |
| 994 | }, |
| 995 | }); |
| 996 | |
| 997 | // Provide editor.session for Ace API compatibility |
nothing calls this directly
no test coverage detected