GithubHelp home page GithubHelp logo

Comments (6)

dhoulb avatar dhoulb commented on June 26, 2024

I'm getting the same thing. Happens on DOM load (before I've instantiated a WYSIWYG area). I'm guessing it's part of some browser compatibility testing that WYSIHTML5 or Rangy does early on.

I'm also getting a The given range and the current selection belong to two different document fragments. error, which I assume is related.

from wysihtml.

timdown avatar timdown commented on June 26, 2024

Rangy does do feature tests during initialization which cause recent Chrome to warn both "'Range.detach' is now a no-op, as per DOM" and "Discontiguous selection is not supported.". The latest version of Rangy on GitHub has workarounds for both.

from wysihtml.

adantart avatar adantart commented on June 26, 2024

just a question, do we have to upgrade Rangy by ourselves or are you going to upgrade the lib here ?

from wysihtml.

timdown avatar timdown commented on June 26, 2024

Is that directed at me, @adantart? If so then I'm happy to create a pull request with the latest version of Rangy but I'd have thought it would be just as simple to download the latest release from https://github.com/timdown/rangy/releases and do it yourselves.

from wysihtml.

adantart avatar adantart commented on June 26, 2024

Yes, I know it's that simple, but just wanted to know if I have to, or better to wait the main project (yours) to do it, and then I upgrade yours ;-)
It's not about "who" is doing this, but having a clean repository dependencies. I prefer to upgrade your package when it's upgraded, if not, I will have conflicts when I upgrade yours after changing a library inside it.

from wysihtml.

kasoban avatar kasoban commented on June 26, 2024

@adantart I think there is some misunderstanding here, @timdown is not the maintainer of Edicy/wysihtml5 but of Rangy

from wysihtml.

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.