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

🏷️ Fix Block.moveChildren() signature #3735

Merged
merged 1 commit into from Jun 2, 2023

Conversation

alecgibson
Copy link
Contributor

The Block blot inherits from parchment's ParentBlot, where the ref argument is optional.

This change updates the Block signature to match its parent.

The `Block` blot inherits from `parchment`'s `ParentBlot`, where the
`ref` argument [is optional][1].

This change updates the `Block` signature to match its parent.

[1]: https://github.com/quilljs/parchment/blob/634e50f4d73a3351952250146510332dbc0af961/src/blot/abstract/parent.ts#L238
@luin luin merged commit 969ed7c into quilljs:develop Jun 2, 2023
@alecgibson alecgibson deleted the block-move-children branch June 2, 2023 06:59
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.

None yet

2 participants