-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Import Format API components instead of passing as props #11545
Conversation
Cool, thanks for working on it. I quickly checked the code and it looks exactly as I would expect. I need to take a closer look before I give 👍 |
On thing I'm not sure about is naming. |
The naming of the components? |
Yeah, I just prefixed them all with |
Can we update |
Why not just |
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.
Awesome, tests well. Code looks good, too 👍
Why not just
RichTextInserterItem
, as any rich text item in there will be automatically inline?
Yes, true. It's also shorter.
* Import Format API components instead of passing as props * Include button title in inserter search * Simplify isResult * RichTextInserterListItem => RichTextInserterItem
Description
Refactoring. See #11488 (comment).
How has this been tested?
Ensure toolbar buttons work, shortcuts work, an the inline image button works. Also ensure that searching for the inline image button works in the inserter.
Screenshots
Types of changes
Checklist: