Closed kimmy-wang closed 3 years ago
@realkimmy 不清楚你的工程,不知道怎么解决。
@realkimmy 不清楚你的工程,不知道怎么解决。
index.tsx,改成这样就好了
import MDEditor from './Editor';
import * as commands from './commands';
import * as MarkdownUtil from './utils/markdownUtils';
export * from './commands';
export * from './utils/markdownUtils';
export * from './Editor';
export { MarkdownUtil, commands };
export default MDEditor;
@realkimmy Upgrade + @uiw/react-md-editor@3.0.10