File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -245,30 +245,6 @@ export class SuggestionMenuProseMirrorPlugin<
245245 } ,
246246
247247 props : {
248- handleKeyDown ( view , event ) {
249- const suggestionPluginState : SuggestionPluginState = (
250- this as Plugin
251- ) . getState ( view . state ) ;
252-
253- if (
254- triggerCharacters . includes ( event . key ) &&
255- suggestionPluginState === undefined
256- ) {
257- event . preventDefault ( ) ;
258-
259- view . dispatch (
260- view . state . tr
261- . insertText ( event . key )
262- . scrollIntoView ( )
263- . setMeta ( suggestionMenuPluginKey , {
264- triggerCharacter : event . key ,
265- } )
266- ) ;
267-
268- return true ;
269- }
270- return false ;
271- } ,
272248 handleTextInput ( view , _from , _to , text ) {
273249 const suggestionPluginState : SuggestionPluginState = (
274250 this as Plugin
You can’t perform that action at this time.
0 commit comments