This repo contains a repro of an issue with CKEditor5 Track Changes Data plugin. This example follows a Track Changes - Saving data without suggestions guide.
As long as the editor contains any suggestions, any attempt to get data with accepted suggestions
const data = await editor.plugins.get( 'TrackChangesData' ).getDataWithAcceptedSuggestions();
results in the following error:
CKEditorError: commentsrepository-duplicated-comment-thread-id {"threadId":"e644793801326b778482864dc0251d025"}
Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-commentsrepository-duplicated-comment-thread-id
This project was bootstrapped with Vite, using the react-ts
template.
- Node.js version 18+. 20+., version requirement is driven by Vite
- CKEditor 5 with SaaS Collaborative Editing plugins license key, WS URL and valid token.
Update the .env
file with your CKEditor5 license key, WS URL and token.
Install dependencies:
yarn
Run the application in DEV mode
yarn dev
Assuming default configration & port is available the app will be served at http://localhost:5173/
- Enable Track Changes mode in editor toolbar.
- Edit the content.
- Press 'Get data with accepted suggestions' button.