component/split-at-cursor — pull request #1 by benatkin (2014-05-08 08:46:17+00:00)
Title: make clicking button in example work

The example works great when using the keyboard shortcut, but when I tried clicking it I got an error that `el.cloneNode` wasn't defined. It got the selector string `'[contenteditable]'` when it was expecting a DOM element. This change gets clicking the button to split at the cursor working for me.