GithubHelp home page GithubHelp logo

Comments (6)

michael avatar michael commented on May 18, 2024

If only this would work for contenteditable too: http://jsfiddle.net/2r2fpekx/12/

from substance.

obuchtala avatar obuchtala commented on May 18, 2024

One problem is that a collapsed selection does not have a bounding rect.
This describes a hack to get such a rect by injecting a span temporarily: http://ask-wenda.appspot.com/r/5707702298738688/5648640/know-when-caret-goes-outside-of-contenteditable-scrollable-div

from substance.

obuchtala avatar obuchtala commented on May 18, 2024

When we start to render the selection ourselves we will have everything to get this done.

from substance.

obuchtala avatar obuchtala commented on May 18, 2024

We can't do that yet, as we need to render selections always for that.

Shifting to Beta 3

from substance.

obuchtala avatar obuchtala commented on May 18, 2024

While we have the methods now, we still need to integrate it. Shifting to beta 5.

from substance.

michael avatar michael commented on May 18, 2024

Fixed via #882

from substance.

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.