• With the latest version of PDF.js Viewer and WordPress 5.5.7, the classic editor is broken, I can’t switch between visual and text, and other problems. Disabling the PDF.js Viewer plugin works fine again.

    I see this in console.log

    pdfjs-media-button.js?ver=2.1.4:4 Uncaught ReferenceError: acf is not defined
        at HTMLDocument.<anonymous> (pdfjs-media-button.js?ver=2.1.4:4)
        at i (jquery.js?ver=1.12.4-wp:2)
        at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
        at Function.ready (jquery.js?ver=1.12.4-wp:2)
        at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
    (anónimo) @ pdfjs-media-button.js?ver=2.1.4:4
    i @ jquery.js?ver=1.12.4-wp:2
    fireWith @ jquery.js?ver=1.12.4-wp:2
    ready @ jquery.js?ver=1.12.4-wp:2
    J @ jquery.js?ver=1.12.4-wp:2

    Thanks for this plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add PDF button broke classic editor’ is closed to new replies.