版本发布 8
<!-- Release notes generated using configuration in .github/release.yml at v2.0.3 --> ## What's Changed ### Bug Fixes 🛠 * Export Delta, AttributeMap and other related objects by @luin in https://github.com/slab/quill/pull/4220 * Handle consecutive spaces when copying and pasting by @jhchen in https://github.com/slab/quill/pull/4502 ### Documentation 📚 * Fixed a few typos in docs/installation.mdx by @erinnmclaughlin in https://github.com/slab/quill/pull/4219 ### Other Changes * Add username links in CHANGELOG.md by @luin in https://github.com/slab/quill/pull/4204 * Move Quill to Slab organization by @luin in https://github.com/slab/quill/pull/4225 * Clipboard support for E2E tests by @luin in https://github.com/slab/quill/pull/4263 * Avoid unnecessary local map creations by @luin in https://github.com/slab/quill/pull/4328 * Config Git correctly for releasing by @luin in https://github.com/slab/quill/pull/4506 ## New Contributors * @erinnmclaughlin made their first contribution in https://github.com/slab/quill/pull/4219 **Full Changelog**: https://github.com/slab/quill/compare/v2.0.2...v2.0.3
<!-- Release notes generated using configuration in .github/release.yml at v2.0.2 --> ## What's Changed ### Bug Fixes 🛠 * Fix typing errors for Quill.register by @hzgotb in https://github.com/quilljs/quill/pull/4127 * Fix event source when deleting a link with shortcuts by @luin in https://github.com/quilljs/quill/pull/4200 * Avoid side effects for Enter/Backspace when composing in Safari by @luin in https://github.com/quilljs/quill/pull/4201 * Ignore pasting images when image format is disallowed by @luin in https://github.com/quilljs/quill/pull/4202 ### Other Changes * Respond to `/docs` route and do redirection by @younggglcy in https://github.com/quilljs/quill/pull/4174 * Consolidate README for sub packages by @luin in https://github.com/quilljs/quill/pull/4176 * Use labels for changelog generating by @luin in https://github.com/quilljs/quill/pull/4198 * Regenerate CHANGELOG from GitHub releases by @luin in https://github.com/quilljs/quill/pull/4199 * Upgrade Node.js to 20 for CI by @luin in https://github.com/quilljs/quill/pull/4203 ## New Contributors * @hzgotb made their first contribution in https://github.com/quilljs/quill/pull/4127 **Full Changelog**: https://github.com/quilljs/quill/compare/v2.0.1...v2.0.2
- Prevent overriding of theme's default toolbar settings mistakenly [#4120](https://github.com/quilljs/quill/pull/4120) - Improve typings for methods that return a Delta [#4136](https://github.com/quilljs/quill/pull/4136) - Fix toolbar icons for h3-h6 [#4131](https://github.com/quilljs/quill/pull/4131)
- **Clipboard** Add support for Quill v1 list attributes - Fix overload declarations for `quill.formatText()` and other methods - Expose Bounds type for getBounds() - Expose Range type - Allow ref for insertBefore to be null
- Include source maps for Parchment - **Clipboard** Support pasting links copied from iOS share sheets - Fix config parsing where undefined values were kept - Expose types for Quill options - Remove empty .css.js files generated by bundlers
- Fix `Quill#getSemanticHTML()` for list items - Remove unnecessary Firefox workaround - **Clipboard** Fix redundant newlines when pasting from external sources - Add `formats` option for specifying allowed formats
- Fix toolbar button state not updated in some cases - Narrower `BubbleTheme.tooltip` type - Fix `Selection.getBounds()` when starting range at end of text node - Improve compatibility with esbuild