(name: string, payload?: Record<string, any>)
| 48 | } |
| 49 | |
| 50 | exec(name: string, payload?: Record<string, any>) { |
| 51 | const type = this.getEditorType(); |
| 52 | |
| 53 | if (type === 'markdown') { |
| 54 | this.mdCommands[name](payload); |
| 55 | } else { |
| 56 | this.wwCommands[name](payload); |
| 57 | } |
| 58 | } |
| 59 | } |
no outgoing calls
no test coverage detected