Darginec05 / Yoopta-Editor

Build Notion-like, Craft-like, Coda-like, Medium-like editors with Yoopta
https://yoopta.dev/
MIT License
1.44k stars 111 forks source link

[FEATURE] Performance issue because <BlockActions /> #361

Closed Darginec05 closed 3 weeks ago

Darginec05 commented 3 weeks ago

Is this a unique feature?

Is your feature request related to a problem/unavailable functionality? Please describe.

<BlockActions /> now is rendering per every block which cause problems because @dnd-kit recall pointer events every time and too much logic/calculations inside BlockActions

Proposed Solution

BlockActions should be moved from every block render to Editor level render

Screenshots

No response

Do you want to work on this issue?

Yes

If "yes" to the above, please explain how you would technically implement this (issue will not be assigned if this is skipped)

No response

Darginec05 commented 3 weeks ago

Fixed in v4.9.0