-
-
Notifications
You must be signed in to change notification settings - Fork 384
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: Separate image, hyperlink, & table components for export #625
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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. Left some comments, also, I think we wanted to streamline more inside the shared/Toolbar directory. iirc this was related to ToolbarDropdown* and ToolbarInputDropdown* etc. right? (I think at least the naming isn't clear, but I think you wanted to combine more code)
packages/react/src/components/HyperlinkToolbar/mantine/DefaultButtons/EditLinkButton.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/ImageToolbar/mantine/ImageToolbar.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/ImageToolbar/mantine/ImageToolbar.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/ImageToolbar/mantine/ImageToolbarPanel.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/TableHandles/mantine/TableHandle.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/FormattingToolbar/mantine/DefaultButtons/CreateLinkButton.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/ImageToolbar/ImagePanelController.tsx
Outdated
Show resolved
Hide resolved
* Cleaned up component code * Renamed "Link" in components to "Hyperlink" * Implemented PR feedback * alternative solution for toolbar fadeout (#645) * chore: Playwright update (#640) * Updated playwright * Small fix * dont upgrade tiptap etc * fix pw install? --------- Co-authored-by: yousefed <yousefdardiry@gmail.com> * fix `setEditable` called when not necessary (#635) * Added temp fix for shortcuts and input rules in tables (#561) --------- Co-authored-by: Yousef <yousefdardiry@gmail.com>
This PR separates the components for the hyperlink toolbar, image toolbar, and table handles so that they can be exported and used by consumers to customize those UI elements. Closes #608
It also cleans up code for children of the Toolbar component, as well as some other small/misc cleanups for components. See #637 for that.