Skip to content

Commit

Permalink
Add missing attributor for Selection test (#4001)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecgibson authored Feb 9, 2024
1 parent 176f586 commit 15f2e8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/quill/test/unit/core/selection.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Italic from '../../../src/formats/italic';
import Strike from '../../../src/formats/strike';
import { ColorStyle } from '../../../src/formats/color';
import { BackgroundStyle } from '../../../src/formats/background';
import { FontClass } from '../../../src/formats/font';
import { SizeClass } from '../../../src/formats/size';

const createSelection = (html: string, container = document.body) => {
const scroll = createScroll(
Expand All @@ -25,7 +25,7 @@ const createSelection = (html: string, container = document.body) => {
Link,
ColorStyle,
BackgroundStyle,
FontClass,
SizeClass,
]),
container,
);
Expand Down

0 comments on commit 15f2e8f

Please sign in to comment.