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

Autocomplete cannot be initialise before instance ready #2114

Closed
msamsel opened this issue Jun 20, 2018 · 1 comment
Closed

Autocomplete cannot be initialise before instance ready #2114

msamsel opened this issue Jun 20, 2018 · 1 comment
Labels
plugin:autocomplete The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. target:minor Any docs related issue that can be merged into a master or major branch. type:bug A bug.
Milestone

Comments

@msamsel
Copy link
Contributor

msamsel commented Jun 20, 2018

Type of report

Bug

Provide detailed reproduction steps (if any)

  1. Try to initialise autocomplete plugin during loaded stage of editor.

Expected result

Possibility to initialise autocomplete regardless o editor status.

Actual result

Error is thrown, because editable doesn't exist yet.
https://github.com/ckeditor/ckeditor-dev/blob/c39b0e2e2bcec87109caa79bcc2ac65bfd9bbfb7/plugins/autocomplete/plugin.js#L248-L249

Other details

  • Browser: …
  • OS: …
  • CKEditor version: …
  • Installed CKEditor plugins: autocomplete
@msamsel msamsel added type:bug A bug. status:confirmed An issue confirmed by the development team. plugin:autocomplete The plugin which probably causes the issue. labels Jun 20, 2018
@mlewand mlewand added this to the 4.10.1 milestone Jun 28, 2018
@mlewand mlewand added the target:minor Any docs related issue that can be merged into a master or major branch. label Jun 28, 2018
@mlewand
Copy link
Contributor

mlewand commented Jul 3, 2018

Fixed in #2118.

@mlewand mlewand closed this as completed Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin:autocomplete The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. target:minor Any docs related issue that can be merged into a master or major branch. type:bug A bug.
Projects
None yet
Development

No branches or pull requests

2 participants