Browse Source

Added missing widget devDependency to package.json.

Szymon Kupś 8 years ago
parent
commit
0936866500

+ 1 - 0
packages/ckeditor5-engine/package.json

@@ -19,6 +19,7 @@
     "@ckeditor/ckeditor5-paragraph": "^0.8.0",
     "@ckeditor/ckeditor5-typing": "^0.9.1",
     "@ckeditor/ckeditor5-undo": "^0.8.1",
+    "@ckeditor/ckeditor5-widget": "^0.1.1",
     "eslint-config-ckeditor5": "^1.0.5",
     "gulp": "^3.9.1",
     "guppy-pre-commit": "^0.4.0"

+ 2 - 2
packages/ckeditor5-engine/src/conversion/buildmodelconverter.js

@@ -437,10 +437,10 @@ export default function buildModelConverter() {
  * can handle virtual selection separately by providing `setVirtualSelection` and `removeVirtualSelection` custom
  * properties.
  *
- * @property {Number} priority {@link module:engine/view/attributeelement~AttributeElement#priority} of the `span`
- * wrapping each text node in the virtual selection.
  * @property {String} class CSS class that will be added to `span`
  * {@link module:engine/view/attributeelement~AttributeElement} wrapping each text node in the virtual selection.
+ * @property {Number} [priority] {@link module:engine/view/attributeelement~AttributeElement#priority} of the `span`
+ * wrapping each text node in the virtual selection. If not provided, default 10 priority will be used.
  * @property {Object} [attributes] Attributes that will be added to `span`
  * {@link module:engine/view/attributeelement~AttributeElement} wrapping each text node it the virtual selection.
  */