Skip to content

Fix broken MJML image placeholder default - #437

Open
RichardJansma wants to merge 1 commit into
GrapesJS:masterfrom
RichardJansma:fix/legacy-mjml-image-placeholder
Open

RichardJansma wants to merge 1 commit into
GrapesJS:masterfrom
RichardJansma:fix/legacy-mjml-image-placeholder

Conversation

@RichardJansma

Copy link
Copy Markdown

Fixes #394. The default MJML image block still used via.placeholder.com, which no longer loads reliably. This changes only that fallback URL and the documented imagePlaceholderSrc default. The option remains configurable.

Validation: the replacement URL returned HTTP 200 with image/png at 350×250; git diff --check passed. I did not run the full test suite for this two-URL change.

Disclosure: I maintain Placeholder.photo, the replacement service. If the project prefers a repository-hosted image or another stable provider, I can adapt the patch.

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.

BUG: via.placeholder.com does not exist anymore

1 participant