CryptoChrome icon indicating copy to clipboard operation
CryptoChrome copied to clipboard

Make text-replacement work in content-editable settings

Open willscott opened this issue 13 years ago • 0 comments

Most notably Gmail compose uses a content editable iframe. The current replacement won't work there, since the selection will be over multiple dom nodes (each line will be a different div.)

A good starting place will be to use both the .anchorNode (the beginning of the selection) and .focusNode (the end of the selection) in getNodeWithText.

willscott avatar Feb 28 '12 19:02 willscott