Procházet zdrojové kódy

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

Aleksander Nowodzinski před 5 roky
rodič
revize
9b500fc1da

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