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

t/ckeditor5-widget/60: Aligned to the new WidgetToolbarRepository API #159

Merged
merged 3 commits into from
Jan 14, 2019

Conversation

oleq
Copy link
Member

@oleq oleq commented Jan 11, 2019

Suggested merge commit message (convention)

Other: Aligned to the new WidgetToolbarRepository API. Replaced the isTableWidgetSelected() utility with getSelectedTableWidget(). Replaced isTableContentSelected() with getTableWidgetAncestor() (see ckeditor/ckeditor5#4595).

BREAKING CHANGE: The isTableWidgetSelected() utility has been replaced by getSelectedTableWidget() and returns an editing View element instead of Boolean.

BREAKING CHANGE: The isTableContentSelected() utility has been replaced by getTableWidgetAncestor() and returns an editing View element instead of Boolean.


This change partially reverts the utility to its functionality before 56adacf. The inner widget discovery is now on the WidgetToolbarRepository side.

Part of ckeditor/ckeditor5-widget#64.

@oleq oleq requested a review from jodator January 11, 2019 09:54
@oleq oleq changed the title t/ckeditor5-widget/60: Replaced the isTableContentSelected() utility with getSelectedTableAncestor() t/ckeditor5-widget/60: Aligned to the new WidgetToolbarRepository API Jan 11, 2019
@coveralls
Copy link

coveralls commented Jan 11, 2019

Coverage Status

Coverage decreased (-0.2%) to 99.821% when pulling a5942ef on t/ckeditor5-widget/60 into 9ace3ba on master.

…ContentSelected()` util with `getSelectedTableWidget()`. Replaced `isTableContentSelected()` with `getTableWidgetAncestor()`.
@oleq oleq force-pushed the t/ckeditor5-widget/60 branch from cdf242d to b2e1b46 Compare January 11, 2019 10:24
@jodator jodator merged commit e3a5c09 into master Jan 14, 2019
@jodator jodator deleted the t/ckeditor5-widget/60 branch January 14, 2019 15:17
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.

3 participants