This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
t/60: Ensured only the widget toolbar attached to the view element which is deepest in the view tree will show up #64
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… deepest in the view tree will show up.
It also fails on master so it's not related to this PR constellation. |
jodator
suggested changes
Jan 14, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small docs fixes might be needed. Everything looks OK to me and works nicely :)
Docs: Fixed documentation in `WidgetToolbarRepository`. Co-Authored-By: oleq <[email protected]>
Docs: Improved documentation in `WidgetToolbarRepository`. Co-Authored-By: oleq <[email protected]>
2 things that came to my mind:
|
jodator
approved these changes
Jan 14, 2019
LGTM 👍 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Suggested merge commit message (convention)
Fix: Ensured only the widget toolbar attached to the view element which is deepest in the view tree will show up. Code and documentation refactoring in the
WidgetToolbarRepository
. Closes ckeditor/ckeditor5#4595.BREAKING CHANGE: The
visibleWhen()
function, a property of an object passed intoWidgetToolbarRepository.register()
, has been renamed togetRelatedElement()
and must return an editingView
element the toolbar should be attached to (instead ofBoolean
).Additional information
CI: https://github.com/ckeditor/ckeditor5/tree/t/ckeditor5-widget/60
Requires:
WidgetToolbarRepository
API ckeditor5-image#269WidgetToolbarRepository
API ckeditor5-table#159WidgetToolbarRepository
API ckeditor5-media-embed#72