diff --git a/wax-prosemirror-services/src/ImageService/AltComponent.js b/wax-prosemirror-services/src/ImageService/AltComponent.js index 15411af4658fe692e29184bb9520bf44139578cc..d6469398d24591ba339602ab295fb9a27c3e7ca6 100644 --- a/wax-prosemirror-services/src/ImageService/AltComponent.js +++ b/wax-prosemirror-services/src/ImageService/AltComponent.js @@ -73,14 +73,14 @@ export default ({ setPosition, position }) => { const imageConfig = app.config.get('config.ImageService'); const showAlt = imageConfig && imageConfig.showAlt; - const autoFocus = - activeView.state.selection && - activeView.state.selection.node && - activeView.state.selection.node.attrs.alt === ''; + // const autoFocus = + // activeView.state.selection && + // activeView.state.selection.node && + // activeView.state.selection.node.attrs.alt === ''; return !readOnly && showAlt ? ( <StyledInputAlt - autoFocus={autoFocus} + // autoFocus={autoFocus} key="alt" onChange={altTextOnChange} placeholder="Alt Text"