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

Version Packages #5304

Merged
merged 1 commit into from
Feb 22, 2023
Merged

Version Packages #5304

merged 1 commit into from
Feb 22, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 22, 2023

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Patch Changes

  • #5295 84f811a7 Thanks @zbeyens! - New editor method that can be overridden to control when the normalization should stop. Default behavior (unchanged) is to throw an error when it iterates over 42 times the dirty paths length.

    shouldNormalize: ({
      iteration,
      dirtyPaths,
      operation,
    }: {
      iteration: number
      dirtyPaths: Path[]
      operation?: Operation
    }) => boolean
    • editor.onChange signature change: (options?: { operation?: Operation }) => void where operation is triggering the function.
    • editor.normalizeNode signature change: (entry: NodeEntry, options?: { operation?: Operation }) => void where operation is triggering the function.
    • EditorNormalizeOptions new option operation?: Operation where operation is triggering the function.

[email protected]

Patch Changes

@github-actions github-actions bot force-pushed the changeset-release/main branch from d3e5073 to b47b3f4 Compare February 22, 2023 11:57
@github-actions github-actions bot force-pushed the changeset-release/main branch from b47b3f4 to 791231c Compare February 22, 2023 20:50
@dylans dylans merged commit 942fbd7 into main Feb 22, 2023
z2devil pushed a commit to z2devil/slate that referenced this pull request Dec 6, 2024
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant