refactor(maintainment): set dependency versions for prosemirror and y… (#2904)

* refactor(maintainment): set dependency versions for prosemirror and yjs to fixed versions

* refactor(docs): fix dependency versions in demos

* chore: update package-lock.json

* chore: update latest prosemirror packages
This commit is contained in:
Dominik
2022-06-21 00:17:10 +02:00
committed by GitHub
parent 39a20123ab
commit 53e39d0c47
27 changed files with 6787 additions and 2266 deletions

View File

@@ -13,7 +13,7 @@ export const FocusEvents = Extension.create({
key: new PluginKey('focusEvents'),
props: {
handleDOMEvents: {
focus: (view, event) => {
focus: (view, event: Event) => {
editor.isFocused = true
const transaction = editor.state.tr
@@ -24,7 +24,7 @@ export const FocusEvents = Extension.create({
return false
},
blur: (view, event) => {
blur: (view, event: Event) => {
editor.isFocused = false
const transaction = editor.state.tr