Skip to content
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

Initialize data via setData() doesn't work properly #47

Closed
elszczepano opened this issue Apr 18, 2019 · 1 comment · Fixed by #48
Closed

Initialize data via setData() doesn't work properly #47

elszczepano opened this issue Apr 18, 2019 · 1 comment · Fixed by #48
Assignees
Labels
Milestone

Comments

@elszczepano
Copy link
Member

editor.setData() or editor.data.set() in real-time collaboration works incorrect. Using it may overwrite local changes on remote clients.

@pomek
Copy link
Member

pomek commented Apr 18, 2019

A related issue in React integration – ckeditor/ckeditor5-react#68.

@elszczepano elszczepano mentioned this issue Apr 18, 2019
Merged
@oleq oleq added this to the iteration 24 milestone Apr 18, 2019
@oleq oleq closed this as completed in #48 Apr 19, 2019
oleq added a commit that referenced this issue Apr 19, 2019
Fix: The data initialization should not break collaboration. Instead of using `editor.setData()`, the initial content is now set via `innerHTML` of the source element. Closes #47.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants