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:
@@ -2,9 +2,9 @@ import { Extension } from '@tiptap/core'
|
||||
import { dropCursor } from 'prosemirror-dropcursor'
|
||||
|
||||
export interface DropcursorOptions {
|
||||
color: string | null,
|
||||
width: number | null,
|
||||
class: string | null,
|
||||
color: string | undefined,
|
||||
width: number | undefined,
|
||||
class: string | undefined,
|
||||
}
|
||||
|
||||
export const Dropcursor = Extension.create<DropcursorOptions>({
|
||||
@@ -14,7 +14,7 @@ export const Dropcursor = Extension.create<DropcursorOptions>({
|
||||
return {
|
||||
color: 'currentColor',
|
||||
width: 1,
|
||||
class: null,
|
||||
class: undefined,
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user