mholzen / notepad

inStruct - The Notepad
1 stars 0 forks source link

Typing outside of a contenteditable should add new text, not risks reloading page #26

Open mholzen opened 11 years ago

mholzen commented 11 years ago

If you start typing outside of a context (for example, after a line has been deleted), you might risk hitting 'R' which will cause the page to reload and lose your content.

Hellpop commented 11 years ago

I think the new text is optional. But the risk of reloading the page is too much. Even if it just does nothing, that's fine.

Hellpop commented 11 years ago

Figured out how I was losing focus. When selected an autocomplete, I use 'downarrow' and enter to select it. This sequence ends with focus on no line. This should change. Selecting an autoselect should place the focus on the end of the line.... (I think)