bmcmahen / react-wysiwyg

retain some control over contenteditable input
169 stars 37 forks source link

Arrow-key not supported #39

Open fritx opened 8 years ago

fritx commented 8 years ago
switch (key) {
        case 46:     // 'Delete' key
        case 8:      // 'Backspace' key
        case 9:      // 'Tab' key
        case 39:     // 'Arrow right' key
        case 37:     // 'Arrow left' key
        case 40:     // 'Arrow left' key
        case 38:     // 'Arrow left' key
          prev();
          break;