Selaa lähdekoodia

Small docs fixes.

Szymon Kupś 8 vuotta sitten
vanhempi
sitoutus
7d306d5e3b

+ 3 - 3
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 {String} [class] CSS class that will be added to `span`
+ * @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 {Object} [attributes] Attributes that will be added to `span`
  * {@link module:engine/view/attributeelement~AttributeElement} wrapping each text node it the virtual selection.
- * @property {Number} [priority] {@link module:engine/view/attributeelement~AttributeElement#priority} of the `span`
- * wrapping each text node in the virtual selection.
  */

+ 1 - 1
packages/ckeditor5-engine/src/conversion/model-to-view-converters.js

@@ -405,7 +405,7 @@ export function remove() {
 /**
  * Function factory, creates converter that converts all texts inside marker's range. Converter wraps each text with
  * {@link module:engine/view/attributeelement~AttributeElement} created from provided descriptor.
- * See {@link engine/conversion/model-to-view-converters~virtualSelectionDescriptorToAttributeElement}.
+ * See {link module:engine/conversion/model-to-view-converters~virtualSelectionDescriptorToAttributeElement}.
  *
  * @param {module:engine/conversion/buildmodelconverter~VirtualSelectionDescriptor|Function} selectionDescriptor
  * @return {Function}