Skip to content

No error displayed when embedding a URL to a PDF which is 10MB or more #69

Description

@kasparsd

When using the Iframely block to embed a URL to a PDF that is over 10MB, the endpoint returns the following error which is never shown to the user:

{"url":"https:\/\/example.com\/wp-content\/uploads\/sites\/28\/2026\/04\/menu.pdf","type":"link","version":"1.0","messages":["PDF files that are over 10Mb are not supported by Google Docs Viewer"],"cache_age":86400,"html":""}

while the block renders as empty element in the editor:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions