rangy icon indicating copy to clipboard operation
rangy copied to clipboard

Feature request: ReactJS support

Open peoplemerge opened this issue 7 years ago • 2 comments

Looks like #390 seeks to apply rangy in a react app; I was hoping to do the same.

Any plans?

peoplemerge avatar May 24 '17 18:05 peoplemerge

It's supported.@peoplemerge but,you trigger it have to by button or before using just have to save in cache with other element

zedwang avatar May 25 '17 10:05 zedwang

@peoplemerge You can use Rangy with React. The actual problem in #390 is that the OP is trying to use functionality that depends on markers inserted in the DOM tree and then proceeds to immediately zap those markers. That's not a React-specific problem and the solution is not React-specific either, and ultimately may require writing custom code to save and restore selections. Rangy cannot include support for every single imaginable scenario.

lddubeau avatar Jun 07 '17 14:06 lddubeau