Преглед на файлове

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.
 	 */