Skip to content

feat: Separate image, hyperlink, & table components for export#625

Merged
matthewlipski merged 12 commits into
mainfrom
ui-refactor
Mar 14, 2024
Merged

feat: Separate image, hyperlink, & table components for export#625
matthewlipski merged 12 commits into
mainfrom
ui-refactor

Conversation

@matthewlipski

@matthewlipski matthewlipski commented Mar 7, 2024

Copy link
Copy Markdown
Collaborator

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.

@vercel

vercel Bot commented Mar 7, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Mar 14, 2024 6:25pm
blocknote-website ✅ Ready (Inspect) Visit Preview Mar 14, 2024 6:25pm

@YousefED YousefED left a comment

Copy link
Copy Markdown
Collaborator

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)

Comment thread packages/react/src/components/ImageToolbar/mantine/ImageToolbar.tsx Outdated
Comment thread packages/react/src/components/ImageToolbar/mantine/ImageToolbar.tsx Outdated
Comment thread packages/react/src/components/ImageToolbar/mantine/ImageToolbarPanel.tsx Outdated
Comment thread packages/react/src/components/TableHandles/mantine/TableHandle.tsx Outdated
Comment thread packages/react/src/components/ImageToolbar/ImagePanelController.tsx
matthewlipski and others added 4 commits March 14, 2024 18:27
* 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>
@matthewlipski matthewlipski merged commit 434075d into main Mar 14, 2024
@nperez0111 nperez0111 deleted the ui-refactor branch October 21, 2025 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hyperlink, table, and image menus/toolbars default component exports

2 participants