Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andy Fragen

    (@afragen)

    I can certainly look to optimizing it’s loading but I am uncertain as to the time saving of inline CSS vs enqueuing the CSS, which is the recommended method.

    Especially as it’s a local request.

    • This reply was modified 5 years, 10 months ago by Andy Fragen.
    Thread Starter AiratTop

    (@airathalitov)

    Ok, you can do what you think is right.

    Plugin Author Andy Fragen

    (@afragen)

    I have looked into this and as a PDF or PDF block could be embedded in nearly every type of page I don’t see how to limit this.

    As the recommended method of adding CSS is to use wp_enqueue_style and not use inline CSS I’m going to close this is wontfix.

    If you can figure out a way to effectively manage this without creating inline CSS please submit a PR.

    https://github.com/afragen/embed-pdf-viewer/pulls

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Inline small CSS file’ is closed to new replies.