block-content
block-content copied to clipboard
Sanitize HTML and create allowed/not allowed list for attributes/element types.
- [x] Sanitize block text
- [x] Export components properly
- [ ] Provide allowed element types via provider
- [ ] Provide allowed element attribute types via provider
size-limit report 📦
Path | Size |
---|---|
dist/block-content.cjs.production.min.js | 91.16 KB (+85.15% 🔺) |
dist/block-content.esm.js | 90.26 KB (+83.44% 🔺) |