diff --git a/CHANGELOG.md b/CHANGELOG.md index d59716f014..71ddc858a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ - Fix toolbar button state not updated in some cases - Narrower `BubbleTheme.tooltip` type +- Fix `Selection.getBounds()` when starting range at end of text node # 2.0.0-rc.1 diff --git a/packages/quill/test/unit/core/selection.spec.ts b/packages/quill/test/unit/core/selection.spec.ts index 99d376b1f6..4b866304f2 100644 --- a/packages/quill/test/unit/core/selection.spec.ts +++ b/packages/quill/test/unit/core/selection.spec.ts @@ -598,7 +598,7 @@ describe('Selection', () => { ); }); - test('selection starting at end of text node', function () { + test('selection starting at end of text node', () => { const { reference, container } = setup(); container.style.width = `${reference.width * 4}px`; const selection = createSelection(