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

Prevent editor creation on detached element #4461

Closed
sculpt0r opened this issue Dec 31, 2020 · 1 comment · Fixed by #4463
Closed

Prevent editor creation on detached element #4461

sculpt0r opened this issue Dec 31, 2020 · 1 comment · Fixed by #4463
Assignees
Labels
core The issue is caused by the editor core code. status:confirmed An issue confirmed by the development team. type:feature A feature request.
Milestone

Comments

@sculpt0r
Copy link
Contributor

Type of report

Feature request

Provide description of the new feature

Prevent editor creation while targeting element is detached from DOM.
Also, we could add tracking, whenever the element will be attached - then the editor will be automatically created.

Some frameworks may 'hide' targeting element by detaching it - then we get some unexpected errors (like in #4390 )

@CKEditorBot
Copy link
Collaborator

Closed in #4463

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core The issue is caused by the editor core code. status:confirmed An issue confirmed by the development team. type:feature A feature request.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants