瀏覽代碼

Docs: Made WidgetTypeAround#_insertParagraph a protected method because it is tested.

Aleksander Nowodzinski 5 年之前
父節點
當前提交
9b500fc1da
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-widget/src/widgettypearound/widgettypearound.js

+ 1 - 1
packages/ckeditor5-widget/src/widgettypearound/widgettypearound.js

@@ -70,7 +70,7 @@ export default class WidgetTypeAround extends Plugin {
 	 * **Note**: This method is heavily user-oriented and will both focus the editing view and scroll
 	 * the viewport to the selection in the inserted paragraph.
 	 *
-	 * @private
+	 * @protected
 	 * @param {module:engine/view/element~Element} widgetViewElement The view widget element next to which a paragraph is inserted.
 	 * @param {'before'|'after'} position The position where the paragraph is inserted. Either `'before'` or `'after'` the widget.
 	 */