浏览代码

Fix docs of conversion.for( 'downcast' ).attributeToElement() method.

Maciej Gołaszewski 7 年之前
父节点
当前提交
b91fb5b82d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/ckeditor5-engine/src/conversion/downcast-converters.js

+ 2 - 2
packages/ckeditor5-engine/src/conversion/downcast-converters.js

@@ -1204,10 +1204,10 @@ export const helpers = {
 	 *			}
 	 *		} );
 	 *
-	 * @method #attributeToElement
 	 * See {@link module:engine/conversion/conversion~Conversion#for `conversion.for()`} to learn how to add a converter
 	 * to the conversion process.
-	 * @method #attributeToAttribute
+	 *
+	 * @method #attributeToElement
 	 * @param {Object} config Conversion configuration.
 	 * @param {String|Object} config.model The key of the attribute to convert from or a `{ key, values }` object. `values` is an array
 	 * of `String`s with possible values if the model attribute is an enumerable.