-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Consider an editable text element such as a paragraph, containing some text.
If I press control-A within that field and then begin typing some new text, the expected behavior is for the existing content to be deleted, and for the new text to take its place. Every web site, word processor, desktop app, etc. ever made has worked this way, so it's a well-established convention.
In Respond, the existing text is not deleted - rather, it is deselected, and then the new text is prepended to the beginning.
I'm trying to fix this myself but not having any luck. I have been reading up on contenteditable. I've also installed the respond-ui project and am digging through that to see if I can figure out how to fix this. I've looked through src/app/edit/edit/edit.component.ts and understand the basics. What I don't yet understand is which Angular route is used to serve the editor up in an iframe.
Can you offer any direction on which files I should look at, or in general how I could go about fixing this issue? Thanks!