Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG FIX] [MER-3995] Fix error inserting link or webpage from media library #5266

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

andersweinstein
Copy link
Contributor

@andersweinstein andersweinstein commented Nov 26, 2024

The attempt to insert either a Link or an embedded (iframed) web page using the option to link to an item in the Media Library was failing, showing an error message “Cannot read properties of null (reading store)" inside the containing modal where the embedded MediaManager should be rendered. The connected MediaManager component was not finding a react-redux store provider within these modal contexts. This change adds code to wrap the component in the needed Provider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant