Alcumus / react-doc-viewer

Apache License 2.0
208 stars 101 forks source link

HTML Renderer not working #78

Open jojonarte opened 3 years ago

jojonarte commented 3 years ago

I'm getting below error.

scheduler.development.js:171 Uncaught DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
    at http://localhost:8888/static/js/6.chunk.js:197230:23

For htm file below:

<!DOCTYPE html>
<html>
    <body>
        <div style="width: 500px; margin: auto">
            <h2>Some Display for Lennox</h2>
            <div>Rating: <span id="rb-rating">0</span></div>
            <div>Total Reviews: <span id="rb-reviews-total">0</span></div>
        </div>

        <div style="margin-top: 100px">
            <script
                type="text/javascript"
                src="https://public.staging.rbfeedback.com/widget/expanded/5c627211ad3270412a47f5a3?testimonials=1"
                async
            ></script>
        </div>
    </body>
</html>