Coder Social home page Coder Social logo

iframe support about atomic-chrome HOT 5 CLOSED

danhper avatar danhper commented on May 18, 2024
iframe support

from atomic-chrome.

Comments (5)

pixelchutes avatar pixelchutes commented on May 18, 2024 1

@tuvistavie Confirmed, thank you! 🍻

from atomic-chrome.

pixelchutes avatar pixelchutes commented on May 18, 2024

👍 Yes, please!

from atomic-chrome.

danhper avatar danhper commented on May 18, 2024

Thanks for reporting, this should be fixed in 0.2.3.

from atomic-chrome.

pixelchutes avatar pixelchutes commented on May 18, 2024

@tuvistavie sorry to pester, but when testing 0.2.3 (<textarea> in <frame>), Atomic Chrome is opening up two Atom tabs...

I don't believe this happened in 0.2.2.

Oddly, it does not seem to work for a texteditor like CodeMirror (inside <frame>), but does work for CodeMirror without <frame> involved.

UPDATE:

The two Atom tabs seems to be happening even when <frame> is not involved. I'm going to attempt Restarting Chrome 51.0.2693.2 dev (64-bit) and Atom 1.6.1 seemed to resolve the duplication issue, just not sure why CodeMirror doesn't work inside of a frame?

console log:

Uncaught (in promise) TypeError: Cannot read property 'on' of undefined(…) injected.js:1

value: function(e) {
    this.editor.on("change", this.wrapSilence(e))
           //  ^^ here
}

from atomic-chrome.

danhper avatar danhper commented on May 18, 2024

@pixelchutes Thanks for the catch!
I was using the window object instead of the iframe window object,
causing the error when working inside in iframe.
I just published a fix as 0.2.4, please let me know how it goes!

from atomic-chrome.

Related Issues (20)

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.