Josef Engelfrost
Josef Engelfrost
`' alert(document.cookie);'` turns into ` alert(document.cookie);`. The simpler regexp `/]+>/g` does strip the HTML.
This might be insightful: https://github.com/atom/atom/issues/6055
It's missing a return statement...
This is a clever hack to access the clipboard: http://stackoverflow.com/questions/17527870/how-does-trello-access-the-users-clipboard
Document how text input should work.
If whitespace is deleted, two words need to be merged into the same text tag and same model. The cursor must be positioned correctly.
Characters should be inserted when typed. Backspace and delete should work as well.
An insertion cursor module. A line that blinks, is positioned after the last word by default and can be moved with arrow keys in two dimensions. Figure out the relationship...
If I initialize a zoomable image _under the current cursor position_, zooming does not work until I leave and the re-enter the image. Here is an example: ``` $('body').on('click', function...