Explorar o código

API docs fixes.

Piotrek Koszuliński %!s(int64=9) %!d(string=hai) anos
pai
achega
18b92061b7

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

@@ -157,7 +157,7 @@ class ModelConverterBuilder {
 	 *
 	 *
 	 * @chainable
 	 * @chainable
 	 * @param {String} markerName Name of marker to convert.
 	 * @param {String} markerName Name of marker to convert.
-	 * @returns {module:engine/conversion/modelconverterbuilder~ModelConverterBuilder}
+	 * @returns {module:engine/conversion/buildmodelconverter~ModelConverterBuilder}
 	 */
 	 */
 	fromMarker( markerName ) {
 	fromMarker( markerName ) {
 		this._from = {
 		this._from = {
@@ -176,7 +176,7 @@ class ModelConverterBuilder {
 	 *
 	 *
 	 * @chainable
 	 * @chainable
 	 * @param {String} markerName Name of marker to convert.
 	 * @param {String} markerName Name of marker to convert.
-	 * @returns {module:engine/conversion/modelconverterbuilder~ModelConverterBuilder}
+	 * @returns {module:engine/conversion/buildmodelconverter~ModelConverterBuilder}
 	 */
 	 */
 	fromCollapsedMarker( markerName ) {
 	fromCollapsedMarker( markerName ) {
 		this._from = {
 		this._from = {

+ 1 - 1
packages/ckeditor5-engine/src/conversion/mapper.js

@@ -314,7 +314,7 @@ export default class Mapper {
 	 * Gets the length of the view element in the model.
 	 * Gets the length of the view element in the model.
 	 *
 	 *
 	 * The length is calculated as follows:
 	 * The length is calculated as follows:
-	 * * if {@link ~registerViewToModelLength length mapping callback} is provided for given `viewNode` it is used to
+	 * * if {@link #registerViewToModelLength length mapping callback} is provided for given `viewNode` it is used to
 	 * evaluate model length (`viewNode` is used as first and only parameter passed to the callback),
 	 * evaluate model length (`viewNode` is used as first and only parameter passed to the callback),
 	 * * length of a {@link module:engine/view/text~Text text node} is equal to the length of it's
 	 * * length of a {@link module:engine/view/text~Text text node} is equal to the length of it's
 	 * {@link module:engine/view/text~Text#data data},
 	 * {@link module:engine/view/text~Text#data data},

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

@@ -114,7 +114,7 @@ export function convertCollapsedSelection() {
  *		modelDispatcher.on( 'selectionAttribute:style', convertSelectionAttribute( styleCreator ) );
  *		modelDispatcher.on( 'selectionAttribute:style', convertSelectionAttribute( styleCreator ) );
  *
  *
  * **Note:** You can use the same `elementCreator` function for this converter factory
  * **Note:** You can use the same `elementCreator` function for this converter factory
- * and {@link module:engine/conversion/model-to-view-converters~wrap}
+ * and {@link module:engine/conversion/model-to-view-converters~wrapRange}
  * model to view converter, as long as the `elementCreator` function uses only the first parameter (attribute value).
  * model to view converter, as long as the `elementCreator` function uses only the first parameter (attribute value).
  *
  *
  *		modelDispatcher.on( 'selection', convertCollapsedSelection() );
  *		modelDispatcher.on( 'selection', convertCollapsedSelection() );

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

@@ -372,7 +372,7 @@ export function wrapRange( elementCreator ) {
  * was passed, it will be used to look for similar element in the view for unwrapping. If `Function` is provided, it is passed all
  * was passed, it will be used to look for similar element in the view for unwrapping. If `Function` is provided, it is passed all
  * the parameters of the
  * the parameters of the
  * {@link module:engine/conversion/modelconversiondispatcher~ModelConversionDispatcher#event:removeMarker removeMarker event}.
  * {@link module:engine/conversion/modelconversiondispatcher~ModelConversionDispatcher#event:removeMarker removeMarker event}.
- * It's expected that the function returns a {@link module:/engine/view/attributeelement~AttributeElement}. The result of
+ * It's expected that the function returns a {@link module:engine/view/attributeelement~AttributeElement}. The result of
  * the function will be used to look for similar element in the view for unwrapping.
  * the function will be used to look for similar element in the view for unwrapping.
  *
  *
  * The converter automatically consumes corresponding value from consumables list, stops the event (see
  * The converter automatically consumes corresponding value from consumables list, stops the event (see