ソースを参照

Upgraded version of ESLint.

Kamil Piechaczek 7 年 前
コミット
b896bf15d7

+ 1 - 1
packages/ckeditor5-link/package.json

@@ -22,7 +22,7 @@
     "@ckeditor/ckeditor5-typing": "^11.0.0",
     "@ckeditor/ckeditor5-typing": "^11.0.0",
     "@ckeditor/ckeditor5-undo": "^10.0.2",
     "@ckeditor/ckeditor5-undo": "^10.0.2",
     "@ckeditor/ckeditor5-utils": "^10.2.0",
     "@ckeditor/ckeditor5-utils": "^10.2.0",
-    "eslint": "^4.15.0",
+    "eslint": "^5.5.0",
     "eslint-config-ckeditor5": "^1.0.7",
     "eslint-config-ckeditor5": "^1.0.7",
     "husky": "^0.14.3",
     "husky": "^0.14.3",
     "lint-staged": "^7.0.0"
     "lint-staged": "^7.0.0"

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

@@ -186,7 +186,7 @@ export default class LinkUI extends Plugin {
 			button.tooltip = true;
 			button.tooltip = true;
 
 
 			// Bind button to the command.
 			// Bind button to the command.
-			button.bind( 'isEnabled' ).to( linkCommand, 'isEnabled' );
+			button.bind( 'isOn', 'isEnabled' ).to( linkCommand, 'value', 'isEnabled' );
 
 
 			// Show the panel on button click.
 			// Show the panel on button click.
 			this.listenTo( button, 'execute', () => this._showUI() );
 			this.listenTo( button, 'execute', () => this._showUI() );