chore: migrate to new versions of prosemirror packages (#2854)
* refactor: upgrade prosemirror packages to new typescript versions * refactor: migrate to new typings from prosemirror * style: fix linting issues * style: fix linting issues * style: fix linting issues * fix(ci): fix build process by reimplement filterTransaction * fix(extension-test): fix broken build because of wrong output file names * fix: fix prosemirror-tables not being bundled correctly for ES6 * fix: move to prosemirror-tables-contently until es6 build is working * fix: fix tests for youtube * fix: fix youtube test * fix(demos): fix demos build
This commit is contained in:
@@ -25,12 +25,12 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"linkifyjs": "^3.0.5",
|
||||
"prosemirror-model": "^1.16.1",
|
||||
"prosemirror-state": "^1.3.4"
|
||||
"prosemirror-model": "^1.17.0",
|
||||
"prosemirror-state": "^1.4.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ueberdosis/tiptap",
|
||||
"directory": "packages/extension-link"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -26,7 +26,7 @@ export function autolink(options: AutolinkOptions): Plugin {
|
||||
}
|
||||
|
||||
const { tr } = newState
|
||||
const transform = combineTransactionSteps(oldState.doc, transactions)
|
||||
const transform = combineTransactionSteps(oldState.doc, [...transactions])
|
||||
const { mapping } = transform
|
||||
const changes = getChangedRanges(transform)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user