Skip to content

Commit

Permalink
fix: pass isLibrary to imgProps
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoa committed Nov 13, 2024
1 parent 956d5fd commit 66c9418
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/editors/sharedComponents/ImageUploadModal/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,14 @@ export const hooks = {
selection,
lmsEndpointUrl,
editorType,
isLibrary,
}) => {
const props = module.imgProps({
settings,
selection,
lmsEndpointUrl,
editorType,
isLibrary,
});
return `<img ${propsString(props)} />`;
},
Expand Down

0 comments on commit 66c9418

Please sign in to comment.