Skip to content

Kendo Editor is laggy for medium-to-large documents (not due to ProseMirror) #4609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mtgplaygroup opened this issue Apr 25, 2025 · 1 comment

Comments

@mtgplaygroup
Copy link

Description

On every document change, Kendo Editor serializes the entire document to HTML. This is an expensive operation, especially if there are any complex node views. I saw noticeable lag when typing with Kendo Editor. I was able to fix the performance problems by dropping Kendo Editor and using ProseMirror directly.

Steps To Reproduce

  1. Create a medium-to-large document
  2. Edit it with Kendo Editor
  3. See there is some lag when typing
  4. The lag may be because Kendo Editor serializes the entire document on any change.
  5. Remove Kendo Editor and use ProseMirror directly. The lag goes away.

Screenshots or video

No response

Actual Behavior

Lag in typing

Expected Behavior

No lag in typing (my document is medium-sized, not excessively large)

Browser

Chrome, All

Browser version

latest

OS type

MacOS

OS version

No response

Last working version of the Kendo UI for Angular package (if regression).

No response

@yanmariomenev
Copy link
Contributor

Hi @mtgplaygroup,

Can you provide a runnable example? I tried loading a large amount of content into the editor and started typing, but the performance looks good on my side using a Mac with Chrome.

The test was done in the following example - https://stackblitz.com/edit/angular-tu5yetr6

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

No branches or pull requests

2 participants