Skip to content

Conversation

matthewlipski
Copy link
Collaborator

This PR fixes a bug which causes the link creation menu to disappear when clicked on.
Screenshot 2023-04-14 at 18 01 00

@vercel
Copy link

vercel bot commented Apr 14, 2023

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

Name Status Preview Updated (UTC)
blocknote-website ✅ Ready (Inspect) Visit Preview Apr 14, 2023 4:02pm

@YousefED YousefED merged commit ef0abd9 into custom-formattingtoolbar Apr 18, 2023
@YousefED YousefED deleted the link-button-focus-fix branch April 18, 2023 05:25
YousefED added a commit that referenced this pull request Apr 19, 2023
* simplify formattingtoolbar

* Fixed React component types and added customizable formatting toolbar factory

* Finished formatting toolbar customization with old props

* Changed formatting toolbar props to use BlockNoteEditor

* Fixed text alignment with basic selection object

* Fixed block nesting tests

* Removed multiple block shorthand for updateBlock

* Added comments

* Removed redundant useCallback hooks

* Split `getActiveLink` to get text & url separately

* Removed unnecessary functions and `useCallback` hooks

* removed unnecessary `focus` calls

* Small fix

* Inline code style fix

* Added docs

* Small update

* Made selection undefined if nothing is selected

* Added selection docs

* Added styling docs

* Added nesting & un-nesting docs

* Small fix

* Added selection demo

* Minor fixes

* fix: hyperlink creation menu losing focus on click (#168)

* Doc changes & cleanup

* feat: customizable sidemenu (#143)

* simplify colorpicker

* Added basic mouse cursor position

* Added drag handle menu customization API

* Copied changes from PR and minor improvements

* Small changes

* Added `DragHandleMenuItem` component

* Fixed side menu unnecessary updates

* Removed unnecessary state

* Cleaned up code

* Changed how the side menu gets the hovered block

* Added side menu image

* Added docs

* Fixed comments in demo

* Made all menus/toolbars scroll with page

* Revert "Made all menus/toolbars scroll with page"

This reverts commit ee61bd0.

* Removed `editor` from dynamic props

* Documentation changes

* Small cleanup

* Vanilla example fix

---------

Co-authored-by: Matthew Lipski <[email protected]>
Co-authored-by: Matthew Lipski <[email protected]>

---------

Co-authored-by: Matthew Lipski <[email protected]>
Co-authored-by: Matthew Lipski <[email protected]>
fogle pushed a commit to fogle/BlockNote that referenced this pull request May 20, 2023
* simplify formattingtoolbar

* Fixed React component types and added customizable formatting toolbar factory

* Finished formatting toolbar customization with old props

* Changed formatting toolbar props to use BlockNoteEditor

* Fixed text alignment with basic selection object

* Fixed block nesting tests

* Removed multiple block shorthand for updateBlock

* Added comments

* Removed redundant useCallback hooks

* Split `getActiveLink` to get text & url separately

* Removed unnecessary functions and `useCallback` hooks

* removed unnecessary `focus` calls

* Small fix

* Inline code style fix

* Added docs

* Small update

* Made selection undefined if nothing is selected

* Added selection docs

* Added styling docs

* Added nesting & un-nesting docs

* Small fix

* Added selection demo

* Minor fixes

* fix: hyperlink creation menu losing focus on click (TypeCellOS#168)

* Doc changes & cleanup

* feat: customizable sidemenu (TypeCellOS#143)

* simplify colorpicker

* Added basic mouse cursor position

* Added drag handle menu customization API

* Copied changes from PR and minor improvements

* Small changes

* Added `DragHandleMenuItem` component

* Fixed side menu unnecessary updates

* Removed unnecessary state

* Cleaned up code

* Changed how the side menu gets the hovered block

* Added side menu image

* Added docs

* Fixed comments in demo

* Made all menus/toolbars scroll with page

* Revert "Made all menus/toolbars scroll with page"

This reverts commit ee61bd0.

* Removed `editor` from dynamic props

* Documentation changes

* Small cleanup

* Vanilla example fix

---------

Co-authored-by: Matthew Lipski <[email protected]>
Co-authored-by: Matthew Lipski <[email protected]>

---------

Co-authored-by: Matthew Lipski <[email protected]>
Co-authored-by: Matthew Lipski <[email protected]>
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.

2 participants