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

Use extended Editor type in useSlateWithV return type #5763

Merged
merged 2 commits into from
Nov 19, 2024

Commits on Nov 8, 2024

  1. Use extended Editor type in useSlateWithV return type

    So it matches the return types of `useSlate` and `useSlateStatic`. The
    `useSlateWithV` return object's `editor` property is currently typed as
    just a `ReactEditor`, which causes type errors in our app when we try to
    use it as the extended `Editor` type.
    TyMick committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    a13c445 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    214e939 View commit details
    Browse the repository at this point in the history