Code Monkey home page Code Monkey logo

Comments (4)

zeroasterisk avatar zeroasterisk commented on July 3, 2024

I have basically done the same thing here:

https://github.com/zeroasterisk/react-iframe-resizer-super/blob/master/src/stories/index.js#L44-L50

https://zeroasterisk.github.io/react-iframe-resizer-super/?selectedKind=IframeResizer&selectedStory=defaults%20with%20lorem%20ipsum%20HTML%20as%20content%2C%20set%20via%20prop&full=0&down=1&left=1&panelRight=0

try not wrapping your content string in <html> tags

from react-iframe-resizer-super.

kirakik avatar kirakik commented on July 3, 2024

Hey @zeroasterisk, I found out that using it this way caused an issue with Safari's security. I tried it a different way, by creating a backend route that returns the html, however this then causes other issues:

screen shot 2017-12-07 at 10 53 54 pm

I have not yet found a way around this.

from react-iframe-resizer-super.

zeroasterisk avatar zeroasterisk commented on July 3, 2024

from react-iframe-resizer-super.

kirakik avatar kirakik commented on July 3, 2024

Yes @zeroasterisk, it works fine when not using the resizer

from react-iframe-resizer-super.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.