js-vim-embed icon indicating copy to clipboard operation
js-vim-embed copied to clipboard

Demo doesn't work

Open matthewp opened this issue 11 years ago • 2 comments

I set up the demo but it doesn't seem to do anything. Can't edit text (should we use a textarea instead?) and eventually a "aww shucks" error gets thrown. Any ideas? @itsjoesullivan

matthewp avatar Aug 25 '13 01:08 matthewp

Interesting... you're at "http://joesul.li/js-vim-embed/" ? Typing "i" should put you in insert mode, then you should be able to type. If that doesn't work, can you please let me know your browser?

itsjoesullivan avatar Aug 25 '13 03:08 itsjoesullivan

Actually I was trying to set up my own demo as shown in the Readme (giving the div some height and width of course). Looks like the demo linked is a bit different, the usage shows using new Vim but that demo shows it as vim.edit(..., which when I just tried seems to work fine.

matthewp avatar Aug 25 '13 12:08 matthewp