Bläddra i källkod

Update packages/ckeditor5-widget/src/widgettypearound/widgettypearound.js

Co-authored-by: Kuba Niegowski <1232187+niegowski@users.noreply.github.com>
Aleksander Nowodzinski 5 år sedan
förälder
incheckning
627545289e
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      packages/ckeditor5-widget/src/widgettypearound/widgettypearound.js

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

@@ -72,7 +72,7 @@ export default class WidgetTypeAround extends Plugin {
 	 *
 	 * @private
 	 * @param {module:engine/view/element~Element} widgetViewElement The view widget element next to which a paragraph is inserted.
-	 * @param {String} position The position where the paragraph is inserted. Either `'before'` or `'after'` the widget.
+	 * @param {'before'|'after'} position The position where the paragraph is inserted. Either `'before'` or `'after'` the widget.
 	 */
 	_insertParagraph( widgetViewElement, position ) {
 		const editor = this.editor;