We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now the selection converter (https://github.com/ckeditor/ckeditor5-widget/blob/49afa6e3216334b18573ae0be42d6abb2af324cb/src/widget.js#L67-L81) marks all widget elements in the selection, not just the top-most one.
The text was updated successfully, but these errors were encountered:
OK, I pushed some quick hack for it in https://github.com/ckeditor/ckeditor5-widget/compare/t/57
The code became ugly there and needs refactoring (and tests of course), but the change seems to fix the issue.
Sorry, something went wrong.
I also pushed a playground for it to https://github.com/ckeditor/ckeditor5-core/compare/t/ckeditor5-widget/57. It should be turned into a manual test for this issue.
Merge pull request #58 from ckeditor/t/57
a78efec
Fix: Selection converter will mark only the topmost widget in case of selecting a widget with another widget nested inside it. Closes #57.
pomek
Successfully merging a pull request may close this issue.
Right now the selection converter (https://github.com/ckeditor/ckeditor5-widget/blob/49afa6e3216334b18573ae0be42d6abb2af324cb/src/widget.js#L67-L81) marks all widget elements in the selection, not just the top-most one.
The text was updated successfully, but these errors were encountered: