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

Possibility to add placeholder image url #360

Open
JuhQ opened this issue Jun 17, 2024 · 0 comments
Open

Possibility to add placeholder image url #360

JuhQ opened this issue Jun 17, 2024 · 0 comments

Comments

@JuhQ
Copy link

JuhQ commented Jun 17, 2024

Would be neat if the imageCommand could take in a passed prop to use a predefined image url, instead of the current https://example.com/your-image.png. This way we could render some pre-existing placeholder image, if for some reason the user does not provide their own.

Seems that the current implementation exists in https://github.com/andrerpena/react-mde/blob/master/src/commands/markdown-commands/imageCommand.tsx, I'm not familiar enough with the project to make such PR.

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

No branches or pull requests

1 participant