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

Commit

Permalink
Merge pull request #34 from ckeditor/t/ckeditor5-engine/1294
Browse files Browse the repository at this point in the history
Other: Aligned to changes in ckeditor5-engine.
  • Loading branch information
Piotr Jasiun authored Feb 20, 2018
2 parents 3ab82c9 + fcb3faa commit c897101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default class Widget extends Plugin {

// Model to view selection converter.
// Converts selection placed over widget element to fake selection
this.editor.editing.downcastDispatcher.on( 'selection', ( evt, data, consumable, conversionApi ) => {
this.editor.editing.downcastDispatcher.on( 'selection', ( evt, data, conversionApi ) => {
// Remove selected class from previously selected widgets.
this._clearPreviouslySelectedWidgets( conversionApi.writer );

Expand Down

0 comments on commit c897101

Please sign in to comment.