Closed DmitrySharabin closed 3 years ago
@LeaVerou Hey Lea! 👋🏻 Will you please have a look at this PR? I have an open Gestalt because ot it. :)
Also, do note that simply replacing the entire text drops your undo stack. There are workarounds, but not for all browsers.
See
and many others
Thank you, Lea, for all your comments. I learn a lot from you. I'll work through them and will make some improvements.
As I mentioned in #76, I'm going to close this PR with a pure heart. I learned a lot from it. :)
I just want to say that it's OK if we won't merge this PR since it has to deal with some aspects of properties, like an attribute and a property value (see the comments in the code).
If we decide to leave the previously merged version, it might be a good idea to use line 121 from this PR and send a separate PR with it. What do you think?