8
0
Piotrek Koszuliński 9 жил өмнө
parent
commit
8ccfdb9966

+ 1 - 1
packages/ckeditor5-link/src/unlinkcommand.js

@@ -21,7 +21,7 @@ export default class UnlinkCommand extends Command {
 		super( editor );
 
 		// Checks when command should be enabled or disabled.
-		this.listenTo( this.editor.document.selection, 'change:attribute', () => this.refreshState() );
+		this.listenTo( editor.document.selection, 'change:attribute', () => this.refreshState() );
 	}
 
 	/**