浏览代码

Better wording.

Piotrek Koszuliński 5 年之前
父节点
当前提交
edfc16268a
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      packages/ckeditor5-engine/src/view/downcastwriter.js

+ 2 - 1
packages/ckeditor5-engine/src/view/downcastwriter.js

@@ -214,7 +214,8 @@ export default class DowncastWriter {
 	 *		writer.createEditableElement( 'div' );
 	 *		writer.createEditableElement( 'div', { id: 'foo-1234' } );
 	 *
-	 * Note: There is no reason to use createEditableElement in the data view; the properties it adds are only used in the editing view.
+	 * Note: The editable element is to be used in the editing pipeline. Usually, together with
+	 * {@link module:widget/utils~toWidgetEditable `toWidgetEditable()`}.
 	 *
 	 * @param {String} name Name of the element.
 	 * @param {Object} [attributes] Elements attributes.