Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Lazy loading for the table dropdown #246

Merged
merged 3 commits into from
Feb 12, 2020
Merged

Lazy loading for the table dropdown #246

merged 3 commits into from
Feb 12, 2020

Conversation

mlewand
Copy link
Contributor

@mlewand mlewand commented Feb 12, 2020

Suggested merge commit message (convention)

Other: Implemented lazy loading for the table dropdown. This will reduce editor initialization time. Closes ckeditor/ckeditor5#6193.

Note, this changes the first expected value in  "should bind to insertTable command" TC - since the dropdown is open by default, the button should be marked as "on" (active).
@mlewand
Copy link
Contributor Author

mlewand commented Feb 12, 2020

CI tests will fail in "Table cell paragraph post-fixer should wrap in paragraph $text nodes placed directly in tableCell (on table cell modification)" - that's caused by Chrome 80 bug. Run it on Firefox to have a green ✅ run.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 44beebb on i/6193 into 5726090 on master.

@Reinmar Reinmar self-assigned this Feb 12, 2020
@Reinmar
Copy link
Member

Reinmar commented Feb 12, 2020

I'm missing a test that the view is indeed lazily created. This is – it does not exist before the dropdown is opened. Like this thing: https://github.com/ckeditor/ckeditor5-special-characters/pull/13/files#r378314398.

@Reinmar Reinmar merged commit 5daa487 into master Feb 12, 2020
@Reinmar Reinmar deleted the i/6193 branch February 12, 2020 15:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Table's InsertTableView takes a long time to render
3 participants