Skip to content

fix: don't call setEditable when not necessary#635

Merged
matthewlipski merged 1 commit into
mainfrom
fix/domelement-622
Mar 14, 2024
Merged

fix: don't call setEditable when not necessary#635
matthewlipski merged 1 commit into
mainfrom
fix/domelement-622

Conversation

@YousefED
Copy link
Copy Markdown
Collaborator

We were always triggering setEditable even if this wasn't necessary. This triggered an onChange before the view was mounted

fixes #622

@YousefED YousefED requested a review from matthewlipski March 12, 2024 10:59
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 12, 2024

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

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Mar 12, 2024 11:04am
blocknote-website ✅ Ready (Inspect) Visit Preview Mar 12, 2024 11:04am

@matthewlipski matthewlipski merged commit 33d8637 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/domelement-622 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.

TypeError: Cannot read properties of undefined (reading 'dom')

2 participants