Browse Source

Merge branch 'master' into t/187

Oskar Wrobel 9 năm trước cách đây
mục cha
commit
04894e8c65
2 tập tin đã thay đổi với 2 bổ sung6 xóa
  1. 2 1
      package.json
  2. 0 5
      tests/command/attributecommand.js

+ 2 - 1
package.json

@@ -13,9 +13,10 @@
     "ckeditor5-delete": "ckeditor/ckeditor5-delete",
     "ckeditor5-engine": "ckeditor/ckeditor5-engine",
     "ckeditor5-enter": "ckeditor/ckeditor5-enter",
+    "ckeditor5-formats": "ckeditor/ckeditor5-formats",
     "ckeditor5-paragraph": "ckeditor/ckeditor5-paragraph",
     "ckeditor5-theme-lark": "ckeditor/ckeditor5-theme-lark",
-    "ckeditor5-typing": "ckeditor/ckeditor5-typing#t/1",
+    "ckeditor5-typing": "ckeditor/ckeditor5-typing",
     "ckeditor5-ui": "ckeditor/ckeditor5-ui",
     "ckeditor5-ui-default": "ckeditor/ckeditor5-ui-default",
     "ckeditor5-undo": "ckeditor/ckeditor5-undo",

+ 0 - 5
tests/command/attributecommand.js

@@ -248,9 +248,4 @@ describe( '_checkEnabled', () => {
 			expect( command._checkEnabled() ).to.be.false;
 		} );
 	} );
-
-	it( 'should return false if selection has no ranges', () => {
-		modelDoc.selection.removeAllRanges();
-		expect( command._checkEnabled() ).to.be.false;
-	} );
 } );