Skip to content
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

Merged
merged 12 commits into from
Mar 14, 2024

Conversation

matthewlipski
Copy link
Collaborator

@matthewlipski matthewlipski commented Mar 7, 2024

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.

Copy link

vercel bot commented Mar 7, 2024

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

Copy link
Collaborator

@YousefED YousefED left a 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)

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
4 checks passed
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