diff --git a/packages/amis-editor-core/src/component/MiniEditor.tsx b/packages/amis-editor-core/src/component/MiniEditor.tsx index 96a1c24ef..4d51988e1 100644 --- a/packages/amis-editor-core/src/component/MiniEditor.tsx +++ b/packages/amis-editor-core/src/component/MiniEditor.tsx @@ -29,7 +29,8 @@ export default class MiniEditor extends Editor { } render() { - const {preview, className, theme, data, isMobile} = this.props; + const {preview, className, theme, data, isMobile, autoFocus, previewProps} = + this.props; return (