BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

fix: add preload option to video blocks

Open YousefED opened this issue 2 months ago • 3 comments

Summary

Closes https://github.com/TypeCellOS/BlockNote/issues/2203

Rationale

With this fix, it's possible to set a preload option in the config of your video block in the schema.

I think this is cleaner than setting it on a block prop (as "preload" seems a UI concern, that something that should be stored in the document). The downside is that it's a single configuration that applies to all blocks

Changes

x

Impact

x

Testing

manual

Screenshots/Video

x

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

Additional Notes

YousefED avatar Dec 04 '25 08:12 YousefED