From 81e7e99e501c76ce51a24f77a50549435a16c5da Mon Sep 17 00:00:00 2001 From: Zihua Li Date: Tue, 13 Feb 2024 08:24:29 +0800 Subject: [PATCH] Update CHANGELOG --- CHANGELOG.md | 32 ++++++++++--------- .../quill/test/unit/modules/toolbar.spec.ts | 2 +- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d9646349d3..d59716f014 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,31 +1,33 @@ # [Unreleased] +- Fix toolbar button state not updated in some cases +- Narrower `BubbleTheme.tooltip` type + # 2.0.0-rc.1 -- Remove unnecessary lodash usages. -- Fix toolbar button state not updated in some cases +- Remove unnecessary lodash usages # 2.0.0-rc.0 -- **Clipboard** Convert newlines between inline elements to a space. -- **Clipboard** Avoid generating unsupported formats on paste. -- **Clipboard** Improve support for pasting from Google Docs and Microsoft Word. -- **Clipboard** Ignore whitespace between pasted empty paragraphs. -- **Syntax** Support highlight.js v10 and v11. +- **Clipboard** Convert newlines between inline elements to a space +- **Clipboard** Avoid generating unsupported formats on paste +- **Clipboard** Improve support for pasting from Google Docs and Microsoft Word +- **Clipboard** Ignore whitespace between pasted empty paragraphs +- **Syntax** Support highlight.js v10 and v11 # 2.0.0-beta.2 -- Fix IME not working correctly in Safari. -- **Clipboard** Support paste as plain text. -- Fix `Quill.getText()` not respecting `length` parameter. -- **History** Fix redo shortcut not working on Linux and Windows. +- Fix IME not working correctly in Safari +- **Clipboard** Support paste as plain text +- Fix `Quill.getText()` not respecting `length` parameter +- **History** Fix redo shortcut not working on Linux and Windows # 2.0.0-beta.1 -- Fix syntax label from "Javascript" to "JavaScript". -- Fix typing errors for emitter. -- Inline SVG images for easier bundler setup. -- Improve typing for Registry. +- Fix syntax label from "Javascript" to "JavaScript" +- Fix typing errors for emitter +- Inline SVG images for easier bundler setup +- Improve typing for Registry # 2.0.0-beta.0 diff --git a/packages/quill/test/unit/modules/toolbar.spec.ts b/packages/quill/test/unit/modules/toolbar.spec.ts index ab37d04649..c42e5d0d35 100644 --- a/packages/quill/test/unit/modules/toolbar.spec.ts +++ b/packages/quill/test/unit/modules/toolbar.spec.ts @@ -236,7 +236,7 @@ describe('Toolbar', () => { expect(leftButton.getAttribute('aria-pressed')).toBe('false'); }); - test('update on format', function () { + test('update on format', () => { const { container, quill } = setup(); const boldButton = container?.parentNode?.querySelector('button.ql-bold'); quill.setSelection(1, 2);