Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

address breaking changes to prosemirror types #31

Open
benrbray opened this issue Mar 5, 2023 · 0 comments
Open

address breaking changes to prosemirror types #31

benrbray opened this issue Mar 5, 2023 · 0 comments
Labels
chore dependencies Pull requests that update a dependency file external/prosemirror

Comments

@benrbray
Copy link
Owner

benrbray commented Mar 5, 2023

the prosemirror type declarations were changed so that Schema no longer appears as a type parameter in most types, such as EditorState<S>, NodeType<S>, MarkType<S>, etc.

I was relying extensively on these type arguments to make the document schema composable and to provide nice intellisense when custom schema extensions are used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore dependencies Pull requests that update a dependency file external/prosemirror
Projects
None yet
Development

No branches or pull requests

1 participant