Skip to content

fix: Formatting toolbar appearance on fade out using innerHTML#645

Merged
matthewlipski merged 1 commit into
mainfrom
fix/toolbar-fadeout
Mar 14, 2024
Merged

fix: Formatting toolbar appearance on fade out using innerHTML#645
matthewlipski merged 1 commit into
mainfrom
fix/toolbar-fadeout

Conversation

@YousefED
Copy link
Copy Markdown
Collaborator

Alternative to #642.

@matthewlipski curious to here your thoughts + can you try to find any bugs in this approach?

@YousefED YousefED requested a review from matthewlipski March 14, 2024 09:52
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 14, 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 9:54am
blocknote-website ✅ Ready (Inspect) Visit Preview Mar 14, 2024 9:54am

@matthewlipski
Copy link
Copy Markdown
Collaborator

Alternative to #642.

@matthewlipski curious to here your thoughts + can you try to find any bugs in this approach?

Looks good! Couldn't find any situations where it breaks. However, I'm still a bit hesitant to merge this vs #642 since using dangerouslySetInnerHTML seems like a bit of a hack. #642 on the other hand introduces a lot of extra code just to deal with animations, but also fixes the issue at the root imo. Not sure which one is more sensible to use tbh

@matthewlipski matthewlipski merged commit f105792 into main Mar 14, 2024
matthewlipski added a commit that referenced this pull request Mar 14, 2024
* 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 added a commit that referenced this pull request Mar 14, 2024
* wip

* Refactored image toolbar

* Refactored image toolbar, hyperlink toolbar, and table handles

* Implemented PR feedback

* Implemented PR feedback

* Implemented PR feedback

* refactor: Clean up component code (#637)

* 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>

* Renamed hyperlink toolbar -> link toolbar and small changes

---------

Co-authored-by: Yousef <yousefdardiry@gmail.com>
@nperez0111 nperez0111 deleted the fix/toolbar-fadeout 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.

2 participants