Add quotes to rich text editor (#9932)
* bump rich text editor to 0.20.0 * add new svg for the button * show the button * make the composer display look like the timeline display
This commit is contained in:
parent
ad500973f4
commit
9dbc5f3773
6 changed files with 33 additions and 6 deletions
|
@ -32,6 +32,7 @@ const mockWysiwyg = {
|
|||
link: jest.fn(),
|
||||
orderedList: jest.fn(),
|
||||
unorderedList: jest.fn(),
|
||||
quote: jest.fn(),
|
||||
} as unknown as FormattingFunctions;
|
||||
|
||||
const openLinkModalSpy = jest.spyOn(LinkModal, "openLinkModal");
|
||||
|
@ -49,6 +50,7 @@ const testCases: Record<
|
|||
link: { label: "Link", mockFormatFn: openLinkModalSpy },
|
||||
orderedList: { label: "Numbered list", mockFormatFn: mockWysiwyg.orderedList },
|
||||
unorderedList: { label: "Bulleted list", mockFormatFn: mockWysiwyg.unorderedList },
|
||||
quote: { label: "Quote", mockFormatFn: mockWysiwyg.quote },
|
||||
};
|
||||
|
||||
const createActionStates = (state: ActionState): AllActionStates => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue