mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-23 00:32:31 +01:00
* Update `findDocumentOrShadowRoot` to return undefined instead of throwing unnecessarily * Small refactoring to improve the diff for reviewers * Add changeset for patch * Update new-trainers-peel.md * Resolve PR comments * Revert undefined checks, return window.document and update changeset * Simplify findDocumentOrShadowRoot based on PR feedback * Re-run CI Thanks everyone for your review and thanks @ben10code for your first contribution!