Przeglądaj źródła

Merge branch 'master' into t/1501

Aleksander Nowodzinski 7 lat temu
rodzic
commit
c92d08af0c

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

@@ -29,8 +29,8 @@
     "lint-staged": "^7.0.0"
   },
   "engines": {
-    "node": ">=6.9.0",
-    "npm": ">=3.0.0"
+    "node": ">=8.0.0",
+    "npm": ">=5.7.1"
   },
   "author": "CKSource (http://cksource.com/)",
   "license": "GPL-2.0-or-later",

+ 7 - 0
packages/ckeditor5-link/src/linkui.js

@@ -38,6 +38,13 @@ export default class LinkUI extends Plugin {
 		return [ ContextualBalloon ];
 	}
 
+	/**
+	 * @inheritDoc
+	 */
+	static get pluginName() {
+		return 'LinkUI';
+	}
+
 	/**
 	 * @inheritDoc
 	 */

+ 4 - 0
packages/ckeditor5-link/tests/linkui.js

@@ -57,6 +57,10 @@ describe( 'LinkUI', () => {
 		return editor.destroy();
 	} );
 
+	it( 'should be named', () => {
+		expect( LinkUI.pluginName ).to.equal( 'LinkUI' );
+	} );
+
 	it( 'should load ContextualBalloon', () => {
 		expect( editor.plugins.get( ContextualBalloon ) ).to.be.instanceOf( ContextualBalloon );
 	} );