-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add rich text undo redo btns [TOL-1038] #1598
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
Is there any case where we could now have too many toolbar buttons? Also would be nice to have some component tests for this when the component test branch is merged (as a follow up) |
We already do (especially in Live Preview) 😞 |
1ebde76
to
3f9e6fb
Compare
44bad28
to
afae649
Compare
afae649
to
324c1c2
Compare
@@ -168,7 +168,7 @@ describe('Rich Text Editor', { viewportHeight: 2000 }, () => { | |||
BLOCKS.HEADING_4, | |||
BLOCKS.HEADING_5, | |||
BLOCKS.HEADING_6, | |||
].forEach((type) => getDropdownItem(type).get('button').should('not.be.disabled')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@colomolo I removed the .get('button')
here from this test, from what I saw the getDropdownItem
already selects the button, or did I miss something?
Description
Adding undo and redo buttons to rich text editors
https://contentful.atlassian.net/browse/TOL-1038
Todo