BlockNote
BlockNote copied to clipboard
fix(server-util): make domShim be pluggable
Summary
This makes the server-util's dom shim be pluggable. So that we don't have rely on JSDom as a dep specifically. Now it is up to the caller to provide the DOM shim.
This helps but does not resolve #942
Rationale
Changes
Impact
Testing
Screenshots/Video
Checklist
- [ ] Code follows the project's coding standards.
- [ ] Unit tests covering the new feature have been added.
- [ ] All existing tests pass.
- [ ] The documentation has been updated to reflect the new feature