accordproject / web-components

React Components for Accord Project
Apache License 2.0
117 stars 95 forks source link

Users can not highlight read only text in a clause template #242

Closed Michael-Grover closed 3 years ago

Michael-Grover commented 3 years ago

Bug Report 🐛

Users currently can not highlight read only text in a clause template. A user should be able to highlight read only text, but not be able to change the text. A user may want to highlight read only text so that they can copy and paste it

Steps to Reproduce

  1. go to the contract editor demo in the storybook
  2. go to "knobs" and switch on "read only"
  3. Try to highlight text in a clause template. it is not possible but should be. image
K-Kumar-01 commented 3 years ago

@Michael-Grover I would like to have a go at issue as I am guessing I figured out the problem.

K-Kumar-01 commented 3 years ago

@Michael-Grover I have created a PR for the problem. Let me know if the approach is right or if there are any changes required. :)