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

fix medias popup + improved assets to markdown serialization #42

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

Conversation

gordielachance
Copy link

No description provided.

@gordielachance gordielachance changed the title fix editor width styling fix medias popup + improved assets to markdown serialization Oct 14, 2024
+fixed cursor bug.
Copy link
Owner

@kwinyyyc kwinyyyc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, the media library can pop up as expected but there. is error when inserting the image to the markdown content

Uncaught TypeError: Cannot read properties of null (reading 'slice')
    at handleChangeAssets (strapi-plugin-wysiwyg-react-md-editor_strapi-admin.js?v=f53dbeb2:101544:28)

if (!isOpen) {
return null;
}

return (
<MediaLibraryDialog
Copy link
Owner

@kwinyyyc kwinyyyc Oct 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typing issue on MediaLibraryDialog causing strapi build failed

'MediaLibraryDialog' cannot be used as a JSX component.

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.

2 participants