Closed chinfeng closed 3 years ago
Is this feature miss since v2 ? I can not access commandOrchestrator anywhere since v2. I worked under v1.
const r = useRef(); function exec() { if (r.current) { r.current.commandOrchestrator.executeCommand({ execute(state, api) { /* ... */ } }); } } return ( <> <button onClick={exec}>execute command from here</button> <MDEditor ref={r}/>; </> )
Upgrade + @uiw/react-md-editor@3.0.7
+ @uiw/react-md-editor@3.0.7
Is this feature miss since v2 ? I can not access commandOrchestrator anywhere since v2. I worked under v1.