Opened 17 years ago
Closed 17 years ago
#8334 closed defect (bug) (fixed)
Visual Editor: Backspace with no content kills focus in Safari. Additional backspaces sends the user backwards in history
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.7 | Priority: | high |
| Severity: | major | Version: | 2.7 |
| Component: | TinyMCE | Keywords: | |
| Focuses: | Cc: |
Description
In Safari:
If you press backspace when there is no content in the Visual Editor, it will lose focus. Pressing backspace again will result in you going back in your browser history.
TinyMCE ticket with patch:
https://sourceforge.net/tracker/index.php?func=detail&aid=2307140&group_id=103281&atid=635682
Works for me. Attaching a patch for us.
High priority. I run into this on a near-daily basis. When composing a new post, I frequently start writing the first sentence, change my mind on its wording, and hold down backspace. Very frustrating.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
With this patch the editor cannot be emptied completely, some empty tags are left behind (like
<blockquote>) and have to be removed by using the buttons on the toolbar.This seems to be a workaround for a Safari bug where it deletes the text but doesn't remove all empty tags when all of the text is gone.
Since the editor loosing focus seems more annoying, I'm +1 for patching it.