-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PE-210] feat: editor performance (#6269)
* bump: upgrade editor * fix: remove editor ref in use * fix: added editor state to reduce rerenders * fix: add editor rerendering optimization * fix: wrong condition in scroll summary * fix: removing ref usage internally in read only editor as well * fix: remove unused methods from read only editor * fix: add editable prop again * regression: added the types for onHeadingChange * fix: types * fix: improve the check condition
- Loading branch information
1 parent
0345336
commit 996d11d
Showing
8 changed files
with
2,247 additions
and
1,895 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 6 additions & 12 deletions
18
packages/editor/src/core/helpers/insert-content-at-cursor-position.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.