fix #789 async/await babel runtime generator error, use regenerator-runtime
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
"prosemirror-transform": "^1.2.7",
|
||||
"prosemirror-utils": "^0.9.6",
|
||||
"prosemirror-view": "^1.15.2",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
"tiptap": "^1.29.4",
|
||||
"tiptap-commands": "^1.14.4"
|
||||
},
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { Plugin, PluginKey } from 'prosemirror-state'
|
||||
import { Decoration, DecorationSet } from 'prosemirror-view'
|
||||
import { insertText } from 'tiptap-commands'
|
||||
import 'regenerator-runtime/runtime'
|
||||
|
||||
// Create a matcher that matches when a specific character is typed. Useful for @mentions and #tags.
|
||||
function triggerCharacter({
|
||||
|
||||
Reference in New Issue
Block a user