浏览代码

Docs: Updated DowncastWriter#createUIElement() and #createRawElement() docs.

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

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

@@ -259,7 +259,7 @@ export default class DowncastWriter {
 	 *		} );
 	 *
 	 * Unlike {@link #createRawElement raw elements}, UI elements are by no means editor content, for instance,
-	 * they are ignored by the editor selection system and they cannot {@link module:widget/utils.toWidget become a widget}.
+	 * they are ignored by the editor selection system.
 	 *
 	 * You should not use UI elements as data containers. Check out {@link #createRawElement} instead.
 	 *
@@ -297,7 +297,7 @@ export default class DowncastWriter {
 	 *
 	 * Unlike {@link #createUIElement ui elements}, raw elements act like a "real" editor content (similar to
 	 * {@link module:engine/view/containerelement~ContainerElement} or {@link module:engine/view/emptyelement~EmptyElement}),
-	 * they are considered by the editor selection and {@link module:widget/utils.toWidget they can work as widgets}.
+	 * and they are considered by the editor selection.
 	 *
 	 * You should not use raw elements to render UI in the editor content. Check out {@link #createUIElement} instead.
 	 *