This project is archived and is in readonly mode.

#549 open
iamcalledrob

Element.Forms (getSelectedRange) fix for contenteditable

Reported by iamcalledrob | March 26th, 2011 @ 02:53 AM | in 1.4.0.1 (closed)

So Element.getSelectedRange() doesn't work if you try and use it on a contenteditable div.
I've fixed it up to add support for this in Gecko & WebKit

http://pastie.org/1716438

Comments and changes to this ticket

  • Arian

    Arian March 29th, 2011 @ 02:12 PM

    • State changed from “new” to “open”
    • Milestone set to 1.3.2.1
    • Assigned user set to “JacobThornton”
    • Milestone order changed from “197587” to “0”

    Is there a way to get support for this in IE? Does IE9 use the Gecko/Webkit API?

    I think Element.Forms should indeed be able to work with contenteditable.

  • Arian

    Arian May 4th, 2011 @ 09:52 AM

    • Milestone changed from 1.3.2.1 to 1.4.0.1
    • Milestone order changed from “1” to “0”

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The MooTools Extensions

People watching this ticket

Pages