Parcourir la source

Made some of Widget plugin methods @protected instead of @private because they are used in WidgetTypeAround now.

Aleksander Nowodzinski il y a 5 ans
Parent
commit
d3b310704a
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      packages/ckeditor5-widget/src/widget.js

+ 2 - 2
packages/ckeditor5-widget/src/widget.js

@@ -277,7 +277,7 @@ export default class Widget extends Plugin {
 	/**
 	 * Sets {@link module:engine/model/selection~Selection document's selection} over given element.
 	 *
-	 * @private
+	 * @protected
 	 * @param {module:engine/model/element~Element} element
 	 */
 	_setSelectionOverElement( element ) {
@@ -291,7 +291,7 @@ export default class Widget extends Plugin {
 	 * {@link module:engine/model/selection~Selection model selection} exists and is marked in
 	 * {@link module:engine/model/schema~Schema schema} as `object`.
 	 *
-	 * @private
+	 * @protected
 	 * @param {Boolean} forward Direction of checking.
 	 * @returns {module:engine/model/element~Element|null}
 	 */