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.